码迷,mamicode.com
首页 >  
搜索关键字:layout_height    ( 604个结果
布局管理器
1.LinearLayout(线性布局) android: orientation="vertical" //布局 android: layout_width="wrap_content " //控件宽度 android: layout_height="fill_parent" //控件高度 注意: ...
分类:其他好文   时间:2017-05-19 20:17:28    阅读次数:151
安卓---RedioButton(单选按钮)、CheckBox(复选按钮)
<RadioGroup android:layout_width="fill_parent" android:layout_height="wrap_content" android:checkedButton="@+id/rb2" > <RadioButton android:id="@+id/r ...
分类:移动开发   时间:2017-05-18 18:43:10    阅读次数:347
使用videoview连续自动播放网络视屏
需求:网络请求接口,实现自动依次播放视频 1:xml布局文件 <VideoView android:id="@+id/video" android:layout_width="match_parent" android:layout_height="wrap_content" android:lay ...
分类:其他好文   时间:2017-05-18 16:50:55    阅读次数:197
关于部分基本控件的使用
android: id= ” @id/id值” //设置id值 android: text=”**” //定义显示文字 android: layout_width="wrap_content" //组件宽度为文字宽度 android: layout_height="wrap_content" //组 ...
分类:其他好文   时间:2017-05-17 23:32:01    阅读次数:238
第三次迭代感想
布局: <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <RelativeLayout android:lay ...
分类:其他好文   时间:2017-05-16 20:46:23    阅读次数:244
android控件
文本框标签 layout_width 控件的宽度 layout_height 控件的高度 fill_parent 随着控件的高度/宽度 wrap_content 随着文字的高度/宽度 <TextView android:layout_width="fill_parent" android:layou ...
分类:移动开发   时间:2017-05-12 09:39:34    阅读次数:204
android的控件
layout_width 控件的宽度 layout_height 控件的高度 fill_parent 随着控件的高度/宽度 wrap_content 随着文字的高度/宽度 <TextView android:layout_width="fill_parent" android:layout_heig ...
分类:移动开发   时间:2017-05-10 20:35:00    阅读次数:214
SharedPreferences作业
安卓作业: 使用SharedPreference将姓名和年龄信息保存到文件,然后再读取 1.主要xml文件代码: <EditText android:id="@+id/name" android:layout_width="match_parent" android:layout_height="w ...
分类:其他好文   时间:2017-05-09 23:11:23    阅读次数:251
Checkbox Text 重影问题的解决的方法
Checkbox有个属性值 <CheckBox android:id="@+id/cb_reg_agree" style="@style/reg_checkbox_style" android:layout_width="wrap_content" android:layout_height="wr ...
分类:其他好文   时间:2017-05-01 22:11:51    阅读次数:124
xml文件的根节点layout_width或者layout_height设置无效果的原因分析
在android开发中相信大家对ListView、GridView等组建都非常熟悉,在使用它们的时候须要自己配置相关的Adapter,而且配置现骨干的xml文件作为ListView等组建的子View,这些xml文件在Adapter的getView方法中调用。比如: public View getVi ...
分类:其他好文   时间:2017-05-01 19:05:36    阅读次数:309
604条   上一页 1 ... 6 7 8 9 10 ... 61 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!