码迷,mamicode.com
首页 >  
搜索关键字:layout_height    ( 604个结果
LocationManager获取地理经纬度
xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:paddingBottom="@dimen/activity_vertical_margin"     andr...
分类:其他好文   时间:2015-04-20 18:35:19    阅读次数:118
Android优化——UI优化(四)
使用style替换背景,防止Activity黑色背景闪过1.原来的布局<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_...
分类:移动开发   时间:2015-04-17 22:25:19    阅读次数:210
Radiobutton样式修改
效果图》》 布局》》》 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@draw...
分类:其他好文   时间:2015-04-17 13:58:13    阅读次数:227
This text field does not specify an inputType or a
<EditText ??????????????? android:id="@+id/searchEditText" ??????????????? android:layout_width="0dp" ??????????????? android:layout_height="fill_parent...
分类:其他好文   时间:2015-04-17 11:55:20    阅读次数:121
Android中Toast样式及自定义Toast
android:id="@+id/toast_layout"     android:layout_width="200dip"     android:layout_height="fill_parent"     android:background="#f0f0f0"     android:orientation="vertical" >             andr...
分类:移动开发   时间:2015-04-17 11:26:46    阅读次数:244
Android Imageview的src
android:layout_width="200dp"         android:layout_height="wrap_content"         android:background="@android:color/black"         android:src="@drawable/v2_boutique_app_viewpager_indicator" />  ...
分类:移动开发   时间:2015-04-17 09:42:47    阅读次数:138
tabhost切换标签:Log中出现You must supply a layout_width attribute的解决方法
谷歌、百度该问题,发现,除非是真的忘记添加layout_height或者layout_width属性值,对于布局文件没有语法问题但又难以发现问题所在的情况,从自己的经历和一个帖子的说明看到,该错误多半是由于忘记在XML中添加某个属性的长度值。我遇到的情况,在布局中有如下的长度引用:android:l...
分类:其他好文   时间:2015-04-16 11:43:30    阅读次数:219
badgeview 和 radiobutton结合使用导致点击无响应解决办法
如果不添加badgeview 点击是没有问题,如果添加了就点击不好使可以添加透明得button具体可以参考<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match...
分类:其他好文   时间:2015-04-15 23:26:21    阅读次数:208
Android自定义Toast
没什么技术难点,照着api做的。 这是效果图 我们先对Toast自定义一个布局: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="w...
分类:移动开发   时间:2015-04-14 19:47:18    阅读次数:165
Android应用创建手机桌面快捷方式
xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent" android:orientation="vertical">             android:id="@+id/short...
分类:移动开发   时间:2015-04-14 11:22:10    阅读次数:152
604条   上一页 1 ... 34 35 36 37 38 ... 61 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!