码迷,mamicode.com
首页 >  
搜索关键字:layout_width    ( 981个结果
自定义样式
XML布局<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"android:orientation="vertical"><TextViewstyle="@style..
分类:其他好文   时间:2015-02-14 01:13:52    阅读次数:133
Android--操作联系人的ContentProvider
1.main.xml代码如下: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="verti...
分类:移动开发   时间:2015-02-13 16:37:02    阅读次数:187
GridView的用法
<GridView android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/main_gv_tuijian" android:numColumns="auto_fit"...
分类:其他好文   时间:2015-02-13 13:25:39    阅读次数:141
自定义控件
1,XML布局<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"><com.eduask.demo3.ui.UiTextViewandroid:marqueeR..
分类:其他好文   时间:2015-02-13 01:44:02    阅读次数:153
android 多选按钮CheckBox的使用
<LinearLayout?xmlns:android="http://schemas.android.com/apk/res/android" ????xmlns:tools="http://schemas.android.com/tools" ????android:layout_width="match_parent" ????android:layout_...
分类:移动开发   时间:2015-02-12 16:32:03    阅读次数:153
限定 edittext 的 输入内容
android:id="@+id/idNumber"                 style="@style/NewServiceEditTextline"                 android:layout_width="match_parent"                 android:layout_height="wrap_content"          ...
分类:其他好文   时间:2015-02-12 14:02:23    阅读次数:112
Gallery
1,xml布局<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"><Galleryandroid:id="@+id/gallery"android:layout_..
分类:其他好文   时间:2015-02-12 02:02:04    阅读次数:192
Android - TextView添加图片
TextView添加图片本文地址:http://blog.csdn.net/caroline_wendyAndroid UI设计时,经常需要在文字周围添加图片。比较简单的方法是直接使用Layout把View组合到一起:<ImageView android:layout_width=“wrap_content" android:layout_height="wrap_conten...
分类:移动开发   时间:2015-02-10 09:17:33    阅读次数:195
LayoutInflater类使用实例
用于构建复杂的Dialog显示界面 main.xml代码如下: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:o...
分类:其他好文   时间:2015-02-08 12:59:35    阅读次数:195
ScrollView动态添加组件
main.xml代码如下: <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@+id/myscroll...
分类:其他好文   时间:2015-02-07 11:49:55    阅读次数:143
981条   上一页 1 ... 69 70 71 72 73 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!