手机
当前位置:查字典教程网 >编程开发 >安卓软件开发 >android 的 Spinner 下拉菜单的使用
android 的 Spinner 下拉菜单的使用
摘要:1.布局文件内容:

1.布局文件内容 :

<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <TextView android:id="@+id/target_number" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="60sp" android:layout_marginTop="20sp" > </TextView> <Spinner android:id="@+id/target_pinner" android:layout_width="200sp" android:layout_height="wrap_content" android:layout_marginLeft="60sp" android:layout_marginTop="20sp" > </Spinner> <TextView android:id="@+id/consult_number" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="60sp" android:layout_marginTop="20sp" > </TextView> <Spinner android:id="@+id/consult_spinner" android:layout_width="200sp" android:layout_height="wrap_content" android:layout_marginLeft="60sp" android:layout_marginTop="20sp" > </Spinner> <Button android:id="@+id/manage_operation" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="100sp" android:layout_marginTop="20sp" android:text="执行调度" android:textSize="18sp" > </Button> </LinearLayout>

【android 的 Spinner 下拉菜单的使用】相关文章:

Android应用程序的调试

Android 管理Activity中的fragments

Android adb的常用命令

android startActivityForResult的使用方法介绍

android 中 webview 怎么用 localStorage

Android 编程下字库的使用及注意事项

解决android tabhost 个别版本视图重叠问题

Android控件系列之Toast使用介绍

Android源码学习之组合模式定义及应用

Android的单位以及屏幕分辨率详解

精品推荐
分类导航