码迷,mamicode.com
首页 >  
搜索关键字:layout_width    ( 981个结果)
【黑马Android】(06)使用HttpClient方式请求网络/网易新闻案例
使用HttpClient方式请求网络 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" andr...
分类:移动开发   时间:2016-04-29 18:55:34    阅读次数:293
Android学习(45) -- 自定义控件(9) 下拉刷新 (添加footer)
样式效果 1、创建底部的布局 layout_footer.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" ...
分类:移动开发   时间:2016-04-29 17:23:11    阅读次数:231
下拉列表,日期选择器,时间选择器,单项选择,多项选择
1.下拉列表Spinner 1.1.activity_main.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_par...
分类:其他好文   时间:2016-04-29 15:18:38    阅读次数:407
使用layout_weight设置控件占屏幕百分比
水平LinearLayout中如果A,B两个控件都是layout_weight="1",那么控件在水平方向占比为A的layout_width+1/2空闲空间,B的layout_width+1/2空闲空间,那么如果AB的layout_width为0的话,AB就平分整个屏幕了。 设置layout_wei ...
分类:其他好文   时间:2016-04-28 11:54:57    阅读次数:140
Android 智能短信第一天(下午)
ConversationFragment的布局: 首先我们找到我们要写的Fragment布局文件。 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_p...
分类:移动开发   时间:2016-04-26 21:14:23    阅读次数:187
Android学习(45) -- 自定义控件(9) 下拉刷新 (添加footer)
样式效果 1、创建底部的布局 layout_footer.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" ...
分类:移动开发   时间:2016-04-26 20:02:15    阅读次数:217
【黑马Android】(06)使用HttpClient方式请求网络/网易新闻案例
使用HttpClient方式请求网络 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" andr...
分类:移动开发   时间:2016-04-24 23:17:03    阅读次数:588
android:layout_height、android:layout_width、android:height、android:width的关系与区别
一直一来对android:layout_height、android:layout_width、android:height、android:width这几个属性的关系有些不理解,既然有了android:layout_height和android:layout_width为什么还要有android: ...
分类:移动开发   时间:2016-04-24 18:43:06    阅读次数:191
网格布局 计算器
<GridLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layo ...
分类:其他好文   时间:2016-04-22 09:27:21    阅读次数:275
信息界面——GridLayout
1 <?xml version="1.0" encoding="utf-8"?> 2 <GridLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="match_parent ...
分类:其他好文   时间:2016-04-22 01:05:38    阅读次数:115
共981条   上一页 1 ... 27 28 29 30 31 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!