码迷,mamicode.com
首页 >  
搜索关键字:layout_width    ( 981个结果)
android:Spinner(下拉框)控件的使用
1.效果图 2.创建页面文件(main.xml) 1 <Spinner 2 android:id="@+id/spinner1" 3 android:layout_width="match_parent" 4 android:layout_height="wrap_content" /> 5 6 < ...
分类:移动开发   时间:2016-07-19 09:48:08    阅读次数:193
android 显示自定义视图对话框
activity_main.xml: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match ...
分类:移动开发   时间:2016-07-18 03:19:27    阅读次数:157
Android入门
在学Android,摘自《第一行代码——Android》 布局管理 通过xml文件进行布局管理。 android:id="@+id/button_1" 为当前的元素定义一个唯一标识符,@+id用于定义,@id用于引用;android:text 为其上内容;android:layout_width和a ...
分类:移动开发   时间:2016-07-15 13:34:49    阅读次数:170
Android简易实战教程--第七话《在内存中存储用户名和密码》
首先是配置文件: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height=...
分类:移动开发   时间:2016-07-13 16:41:56    阅读次数:271
android 屏幕适配攻略(2) weight 注意点
android 屏幕适配攻略(2) weight 注意点 layout_width = "marth_parent" ...
分类:移动开发   时间:2016-07-05 18:34:04    阅读次数:217
EditText 几种显示方式,固定行数,自适应行数
1.显示7行,超过7行自动向下补充行数 <EditText android:id="@+id/edt_content" android:layout_width="match_parent" android:layout_height="wrap_content" android:backgroun ...
分类:其他好文   时间:2016-07-01 16:00:45    阅读次数:715
android-----事件分发机制测试系列
先来说说我遇到的问题,这次测试使用的布局文件是: <com.hzw.eventtest.MyRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="ma...
分类:移动开发   时间:2016-06-29 11:27:43    阅读次数:206
android textview 跑马灯
<TextView android:layout_width="match_parent" android:layout_height="48dp" android:ellipsize="marquee" android:focusable="true" android:singleLine="tr ...
分类:移动开发   时间:2016-06-23 12:27:17    阅读次数:177
android 智能提示
<AutoCompleteTextView android:id="@+id/autoCompleteTextView" android:completionThreshold="1" android:layout_width="match_parent" android:layout_height ...
分类:移动开发   时间:2016-06-22 20:25:37    阅读次数:268
Android中跑马灯效果
<com.randy.test1.self.MarqueeText android:id="@+id/btn1" android:layout_width="match_parent" android:layout_height="wrap_content" android:ellipsize="m ...
分类:移动开发   时间:2016-06-22 20:16:53    阅读次数:213
共981条   上一页 1 ... 20 21 22 23 24 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!