android_14 线性布局2
来源:互联网 发布:山中鹿之介 数据 编辑:程序博客网 时间:2024/06/15 18:06
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_weight="1"> <TextView android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_weight="1" android:background="#ff00ff" android:text="aaaaaa" /> <TextView android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_weight="1" android:text="bbbbb" android:background="#ffff00" /> <TextView android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_weight="1" android:text="cccccccc" android:background="#00ff00" /> <TextView android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_weight="1" android:text="ddddddd" android:background="#0000ff" /> </LinearLayout> <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_content" android:orientation="vertical" android:layout_weight="1"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="第一行" android:layout_weight="1" /> <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="第二行" android:layout_weight="1" /> <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="第三行" android:layout_weight="1" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="第四行" android:layout_weight="1" /> </LinearLayout> </LinearLayout>
阅读全文
0 0
- android_14 线性布局2
- android_14 线性布局
- 线性布局案例(2)
- 线性布局
- 线性布局
- 线性布局
- 线性布局
- 线性布局
- 线性布局
- 线性布局
- 线性布局
- 详细学习线性布局(2)
- Android--(2)--详解线性布局(LinearLayout)
- 线性布局 相对布局 参数
- android布局之线性布局
- android布局之线性布局
- 安卓布局--线性布局
- Android布局之线性布局
- Java语法(二)运算符
- grub rescue问题解决
- 拓扑排序的原理及其实现
- signal 11 (SIGSEGV),code 1,fault addr 0x0 和 Fatal signal 6 (SIGABRT), code -6 in tid 7061
- Java语法(四)JVM Spec (3) Structure
- android_14 线性布局2
- 架构师之路始于云栖大会
- Object C 入门(转)
- Java语法(三)JVM Spec(2) Concepts
- HTML的<img>标签基础
- multi-thread(一)基础知识
- commond版的obj-c helloworld
- NSLog 使用
- 计算机基础(一)计算机硬件知识