码迷,mamicode.com
首页 >  
搜索关键字:layout_width    ( 981个结果)
Android能发音的生词本
---前台界面部分<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:id="@+id/LinearLayout1"android:layout_width="match_parent"android:layout_height="match_parent"android:background="..
分类:移动开发   时间:2016-03-11 06:41:14    阅读次数:286
Android之EditText
EditText 可让用户输入文字。常用属性设置: layout_width 为 wrap_content 时,EditText的宽度会随着输入的字而变宽。 当为 match_parent 时则会固定为parent 的宽度, 其他设置和 TextView类似。 另外,可以通过设置android:in
分类:移动开发   时间:2016-03-10 20:30:19    阅读次数:196
LinearLayout嵌套
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" an
分类:其他好文   时间:2016-03-10 08:14:37    阅读次数:157
Android 数据库管理— — —创建数据库
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" and
分类:移动开发   时间:2016-03-09 17:20:28    阅读次数:207
Android basic1
View:xmlvisualizer:http://labs.udacity.com/android-visualizer/#/android/sandboxhexcolor:http://www.w3schools.com/colors/colors_hex.aspImageView:<ImageViewandroid:src="@drawable/cake"//don‘tneedtowritethesuffix,justnameandroid:layout_width="wrap_content"a..
分类:移动开发   时间:2016-03-08 13:46:29    阅读次数:181
android 一条线
还在为布局的时候做不出来一条细细的线而烦恼么? 哈哈,自从知道了写法腰也不酸了,腿也不疼了!一口气写100行!! <View android:layout_height="1px" android:background="#000000" android:layout_width="fill_par
分类:移动开发   时间:2016-03-08 02:03:46    阅读次数:210
Android中ListView的使用步骤
第一步: 首先,在 布局文件中,声明listView控件. 1 <ListView 2 android:id="@+id/lv" 3 android:layout_width="fill_parent" //注意宽度和高度必须为 fill_parent 4 android:layout_height
分类:移动开发   时间:2016-03-08 00:26:28    阅读次数:173
eatwhatApp开发实战(十四)
之前我们就输入框EditText做了优化,而这次,我们为app添加拨打电话的功能。 首先是布局,将activity_shop_info.xml中对应的电话那一栏进行重新设计: <RelativeLayout android:id="@+id/ll_tel" android:layout_width=
分类:移动开发   时间:2016-03-05 13:18:25    阅读次数:156
android:ImageView选择本地图片并显示
运行结果: 一个隐式意图 布局文件: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" andr...
分类:移动开发   时间:2016-03-03 21:27:13    阅读次数:226
Android应用程序中的多个Activity的显示创建和调用
布局文件: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="ma
分类:移动开发   时间:2016-03-02 13:00:54    阅读次数:203
共981条   上一页 1 ... 32 33 34 35 36 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!