码迷,mamicode.com
首页 >  
搜索关键字:layout_height    ( 604个结果
android 计算机布局设置
<LinearLayout android:layout_height ="match_parent" android:layout_width="match_parent" android:orientation="vertical" <EditText android:layout_height ...
分类:移动开发   时间:2016-07-22 01:10:00    阅读次数:311
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简易实战教程--第七话《在内存中存储用户名和密码》
首先是配置文件: <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 -- TypedArray
当我们自定义View的时候,在给View赋值一些长度宽度的时候,一般都是在layout布局文件中进行的。,比如android:layout_height="wrap_content",除此之外,我们也可以自己定义属性,这样在使用的时候我们就可以使用形如 myapp:myTextSize="20sp" ...
分类:移动开发   时间:2016-07-12 09:04:05    阅读次数:130
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 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
GridView的各种属性
<GridView android:id="@+id/movie_list" android:layout_width="906dp" android:layout_height="654dp" android:layout_marginLeft="230dp" android:layout_mar ...
分类:其他好文   时间:2016-06-21 15:44:02    阅读次数:158
简析静态xml布局如何通过动态代码实现
先看一下xml代码: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@andr...
分类:其他好文   时间:2016-06-21 07:16:34    阅读次数:275
604条   上一页 1 ... 12 13 14 15 16 ... 61 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!