码迷,mamicode.com
首页 >  
搜索关键字:layout_height    ( 604个结果
王立平--EditText实现单行显示,左侧图标,提示信息
android:layout_width="200dp"           android:layout_height="50dp"           android:hint="请输入账号"            android:singleLine="true"             android:drawableLeft="@drawable/ic_launcher"   /...
分类:其他好文   时间:2014-10-16 13:10:40    阅读次数:139
王立平-- android:layout_weight
效果:     android:layout_width="match_parent"     android:layout_height="match_parent"        android:background="#FFFFFF"     android:orientation="vertical" >             android:lay...
分类:移动开发   时间:2014-10-16 12:58:12    阅读次数:175
Android中的表格布局TableLayout
表格布局最主要的三个属性: XML代码实例: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orie...
分类:移动开发   时间:2014-10-14 18:38:49    阅读次数:209
画UI时需要注意的问题
1、可点击区域不能设置为: android:layout_width="wrap_content" android:layout_height="wrap_content" 按钮的可点击范围,至少是高宽38dp,再小就监听不到了 2、不要用fill_parent: 布局, 高宽,不要用fill_pa...
分类:其他好文   时间:2014-10-10 20:45:54    阅读次数:176
【android】让listview的顶部或者底部也显示分割线
xml文件: <ListView android:id="@+id/listview" android:layout_width="match_parent" android:layout_height="match_parent" android:cacheColorHint="#0...
分类:移动开发   时间:2014-09-30 20:40:20    阅读次数:328
王立平--include在Android中的应用
一个布局中包含另一个布局 1.在layout下定义activity_other.xml布局 2.代码中的包含如下:     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_par...
分类:移动开发   时间:2014-09-30 11:45:39    阅读次数:184
Android中gifview的使用
1.导入GifView.jar 2.xml           android:id="@+id/gif1"         android:layout_width="fill_parent"         android:layout_height="fill_parent"         android:layout_centerInParent="true"       ...
分类:移动开发   时间:2014-09-29 13:02:10    阅读次数:184
问题解决
1、定义一个添加View后自动换行的ViewGroup,但是自定义的ViewGroup的layout_height不管是怎么设置都是全满全屏的。我想要使之能够实现layout_height="wrap_content"时能够根据内容自适应高度,应该要怎么做?http://bbs.csdn.net/t...
分类:其他好文   时间:2014-09-26 21:29:18    阅读次数:154
Android L下用XXRadius设置圆角背景图片不能显示
设置控件的background的例子: <Button android:id="@+id/btn1" android:layout_width="100dp" android:layout_height="50dp" android:text="btn1" android:background="@drawable/...
分类:移动开发   时间:2014-09-26 14:45:58    阅读次数:238
Android 浏览网页
1、编写界面<WebViewandroid:id="@+id/webview"android:layout_width="match_parent"android:layout_height="match_parent"/>2、申请权限<uses-permissionandroid:name="android.permission.INTERNET"/>3、MainActivity.javapackagecom.malakana.webview;importand..
分类:移动开发   时间:2014-09-26 01:45:48    阅读次数:431
604条   上一页 1 ... 53 54 55 56 57 ... 61 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!