LinearLayout简单的布局xml,
来源:互联网 发布:董小飒淘宝店 编辑:程序博客网 时间:2024/06/05 13:27
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
tools:context="${packageName}.${activityClass}" >
<TextView
android:id="@+id/TextView1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:background="#aa0000"
android:textSize="25pt"
android:text="1"
/>
<TextView
android:id="@+id/TextView2"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:background="#ffff00"
android:textSize="25pt"
android:text="2"
/>
<TextView
android:id="@+id/TextView3"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:background="#fffff0"
android:textSize="25pt"
android:text="3"
/>
<TextView
android:id="@+id/TextView4"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:background="#0ffff0"
android:textSize="25pt"
android:text="4"
/>
<TextView
android:id="@+id/TextView5"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:background="#000aa0"
android:textSize="25pt"
android:text="5"
/>
</LinearLayout>
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
tools:context="${packageName}.${activityClass}" >
<TextView
android:id="@+id/TextView1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:background="#aa0000"
android:textSize="25pt"
android:text="1"
/>
<TextView
android:id="@+id/TextView2"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:background="#ffff00"
android:textSize="25pt"
android:text="2"
/>
<TextView
android:id="@+id/TextView3"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:background="#fffff0"
android:textSize="25pt"
android:text="3"
/>
<TextView
android:id="@+id/TextView4"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:background="#0ffff0"
android:textSize="25pt"
android:text="4"
/>
<TextView
android:id="@+id/TextView5"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:background="#000aa0"
android:textSize="25pt"
android:text="5"
/>
</LinearLayout>
0 0
- LinearLayout简单的布局xml,
- 简单的LinearLayout线性布局
- 线性布局(LinearLayout)的简单使用
- Android的LinearLayout布局
- LinearLayout布局的Layout_weight
- LinearLayout布局的Layout_weight
- LinearLayout布局的解析
- 快速简单的定制一个时间轴布局(LinearLayout)
- 快速简单的定制一个时间轴布局(LinearLayout)
- 快速简单的定制一个时间轴布局(LinearLayout)
- 快速简单的定制一个时间轴布局(LinearLayout)
- LinearLayout的简单分析
- android布局LinearLayout的使用
- 自定义超出布局的LinearLayout
- LinearLayout布局的layout_weight属性
- 线性布局LinearLayout的使用
- Andriod LinearLayout布局的学习
- Android之简单布局LinearLayout和RelativeLayout
- 对线性回归、逻辑回归、各种回归的概念学习
- unity 在移动平台中,文件操作路径详解
- performSelector 那点事
- 2014.10.14学习总结
- 通俗解释matlab之遗传算法程序部分(二)
- LinearLayout简单的布局xml,
- 解决enq: TX - row lock contention的性能故障
- 快速排序算法介绍
- Android利用Get、Post 获取网络数据
- Codeforces #135 T4 Choosing Capital for Treeland
- ctags使用
- thingking in Java 泛型
- TRIZ系列-创新原理-13-反过来做原理
- Building Fire Stations 39届亚洲赛牡丹江站B题