摘要: 分页加载数据Demo:当客户端从服务端获取数据量过大,一般为用户考虑流量,我们都需要对数据进行分页加载(譬如图片bitmap等)布局代码:listview 1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 android:layout_width="match_parent" 3 android:layout_height="match_parent" 4 android:orientation="vertical& 阅读全文
posted @ 2013-02-09 22:29 My_苦行僧 阅读(4068) 评论(0) 推荐(0) 编辑
摘要: 指定标签与自定义标签的示例布局代码: 1 <TabHost xmlns:android="http://schemas.android.com/apk/res/android" 2 android:id="@+id/tabhost" 3 android:layout_width="match_parent" 4 android:layout_height="match_parent" 5 android:orientation="vertical" > 6 7 <LinearL 阅读全文
posted @ 2013-02-09 11:51 My_苦行僧 阅读(2642) 评论(0) 推荐(1) 编辑
摘要: layer-list:两张图片和成一张图片state-list:状态图,如button按钮的点击,点击前与点击时的状态颜色不一样。level-list:打分图片shape:绘制形状图片布局代码: 1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 android:layout_width="match_parent" 3 android:layout_height="match_parent" 4 android:orienta 阅读全文
posted @ 2013-02-09 08:07 My_苦行僧 阅读(7904) 评论(0) 推荐(0) 编辑