码迷,mamicode.com
首页 >  
搜索关键字:layout_height    ( 604个结果)
欢迎界面+引导进入经典案例
先看欢迎界面的布局 activity_welcome.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" a...
分类:其他好文   时间:2015-03-14 23:14:50    阅读次数:200
Android 学习--ListView 的使用(一)
基于数组的ListViewlistview1.xml<?xmlversion="1.0"encoding="utf-8"?> <LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"android:layout_height="match_parent"> <ListView android:layout_wi..
分类:移动开发   时间:2015-03-14 20:16:16    阅读次数:153
Android 学习--ListView 的使用(二)
基于ArrayAdapter创建ListView程序清单listview2.xml<?xmlversion="1.0"encoding="utf-8"?> <LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"android:layout_height="match_parent"> <ListView ..
分类:移动开发   时间:2015-03-14 20:15:58    阅读次数:230
Android 学习--ListView 的使用(三)
使用SimpleAdapter创建ListView程序清单1<?xmlversion="1.0"encoding="utf-8"?> <LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"android:layout_height="match_parent"> <ListView android:lay..
分类:移动开发   时间:2015-03-14 20:11:14    阅读次数:269
Android 带密码输入界面的Dialog实现机制
1.布局实现: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center_horizont...
分类:移动开发   时间:2015-03-14 17:06:09    阅读次数:1416
Graphics简单汇总
1、主页面布局文件 activity_main.xml(只有2个button按钮) <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_paren...
分类:其他好文   时间:2015-03-13 00:31:33    阅读次数:156
360手机卫士---扫描杀雷达效果
activity_main.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vert...
分类:移动开发   时间:2015-03-12 20:53:25    阅读次数:182
android背景图按比例缩放方法
直接在你的layout文件的开头加一个FrameLayout ,里面放一个ImageView,因为只有android:src可以设置android:scaleType,android:background是无法设置的,我的代码:   android:layout_width="fill_parent"  android:layout_height="fill_parent">...
分类:移动开发   时间:2015-03-09 22:31:10    阅读次数:343
Android--Vibrator(震动模式)
main.xml代码如下: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertica...
分类:移动开发   时间:2015-03-09 12:59:05    阅读次数:202
Android--快速地搜索手机文件引擎小程序(File I/O)
main.xml代码如下: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertica...
分类:移动开发   时间:2015-03-06 11:23:31    阅读次数:201
共604条   上一页 1 ... 37 38 39 40 41 ... 61 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!