手机
当前位置:查字典教程网 >编程开发 >安卓软件开发 >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 SQLiteOpenHelper && CRUD 的使用

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

Android笔记之:App应用之启动界面SplashActivity的使用

Android控件系列之Toast使用介绍

android 之Spinner下拉菜单实现级联

Android Thread 介绍与实例

Android 管理Activity中的fragments

用Android MenuInflater创建菜单项的方法步骤

Android 工程内嵌资源文件的两种方法

Android Spinner 下拉菜单的使用

精品推荐
分类导航