码迷,mamicode.com
首页 >  
搜索关键字:layout_width    ( 981个结果
Android的布局方式(3)
1.LinearLayout(线性布局) android:orientation="vertical" //布局 android:layout_width="wrap_content" //控件宽度 android:layout_height="fill_parent" //控件高度 android ...
分类:移动开发   时间:2017-05-19 21:01:49    阅读次数:243
布局管理器
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 shape的使用
android shape的使用 然后在布局文件里面的Button里面设置如下: [java] view plain copy <Button android:id="@+id/button1" android:layout_width="wrap_content" android:layout_h ...
分类:移动开发   时间:2017-05-12 20:30:32    阅读次数:286
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利用reative_layout生成梅花界面
XML代码: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_p ...
分类:移动开发   时间:2017-05-11 18:29:10    阅读次数:234
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
981条   上一页 1 ... 11 12 13 14 15 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!