分类:C#、Android、VS2015; 创建日期:2016-02-08 在Android应用中,常用的对话框有:Toast、AlertDialog、ProgressDialog、时间选择对话框、日期选择对话框等。这一章主要介绍这些常用对话框的基本用法。 本章源程序共有4个示例 ...
分类:C#、Android、VS2015;
创建日期:2016-02-08
在Android应用中,常用的对话框有:Toast、AlertDialog、ProgressDialog、时间选择对话框、日期选择对话框等。这一章主要介绍这些常用对话框的基本用法。
本章源程序共有4个示例,这些示例都在同一个项目中。
项目名:ch06demos
项目模板:Blank App(Android)
1、运行截图
主界面运行截图如下:
点击每行的示例项,即进入对应示例的页面。
2、主界面(Main.a将Main.a<??><LinearLayout ="http://schemas.get='_blank'>android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <ListView android:minWidth="25px" android:minHeight="25px" android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/listView1" /></LinearLayout>
原标题:第6章 对话框(1) 本章示例主界面
关键词:
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。