码迷,mamicode.com
首页 >  
搜索关键字:layout_height    ( 604个结果
PopupWindow简单用法
要弹出PopupWindow窗口的布局<?xmlversion="1.0"encoding="utf-8"?> <LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#FFBBFFBB" android:..
分类:Windows程序   时间:2016-03-01 14:43:57    阅读次数:194
android linearlayout 把控件view置底部(放在页面最下方)
<LinearLayout android:id="@+id/recLayout" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" androi
分类:移动开发   时间:2016-02-28 16:33:24    阅读次数:377
RadioButton的一个bug
昨天发现了一个RadioButton 的bug,出现bug的代码如下: 1 <RadioGroup 2 android:layout_width="wrap_content" 3 android:layout_height="wrap_content" 4 android:orientation="
分类:其他好文   时间:2016-02-28 15:06:12    阅读次数:172
ImageView切换两种状态下的模式
1、xml对ImageView的src要设置成selector <ImageView android:id="@+id/like_icon" android:layout_width="@dimen/will_like_icon_width" android:layout_height="@dime
分类:其他好文   时间:2016-02-25 22:58:56    阅读次数:292
自定义软件盘的Enter键
目标:改变软键盘的外观使enter显示为“DONE”或“完成”,监听点击事件。 实现: 1.在xml文件中定义一个EditText <EditText android:layout_width="match_parent" android:layout_height="40dp" android:i
分类:其他好文   时间:2016-02-23 13:01:32    阅读次数:123
ANDROID_MARS学习笔记_S02_011_ANIMATION_LayoutAnimationController
一、简介 二、代码1.xml(1)activity_main.xml 1 <ListView 2 android:id="@id/android:list" 3 android:layout_width="wrap_content" 4 android:layout_height="wrap_con
分类:移动开发   时间:2016-02-19 18:39:49    阅读次数:260
android toolbar 假标题居中
<android.support.v7.widget.Toolbar android:id="@+id/toolbar_top" android:layout_height="wrap_content" android:layout_width="match_parent" android:minH
分类:移动开发   时间:2016-02-18 21:36:30    阅读次数:460
android:TextView实现文字走马灯效果(欺骗系统获取持久的焦点)
通常情况下我们想实现文字的走马灯效果需要在xml文件中这样设置 <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:ellipsize="mar...
分类:移动开发   时间:2016-02-15 21:26:04    阅读次数:304
美团外卖我的信息界面实现
先上图: 布局: 1 <?xml version="1.0" encoding="UTF-8"?> 2 3 -<LinearLayout android:orientation="vertical" android:layout_height="match_parent" android:layou
分类:其他好文   时间:2016-02-15 09:19:47    阅读次数:589
Android开发学习之路--UI之简单聊天界面
学了很多的ui的知识,这里就来实现个聊天的界面,首先来实现个layout的xml,代码如下: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_p...
分类:移动开发   时间:2016-02-11 22:42:28    阅读次数:477
604条   上一页 1 ... 18 19 20 21 22 ... 61 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!