TableLayout
来源:互联网 发布:js点击li添加样式 编辑:程序博客网 时间:2024/05/16 01:59
1. <TableRow>
和<TextView>
中的layout_width和layout_height都是由tablelayout控制
2. <TextView android:layout_column="1">
layout_column
设置为第一列
3. <TextView android:layout_span="2">
layout_span
设置跨2列
4. stretchColumns设置拉伸第几列
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:stretchColumns="1"> <TableRow > <TextView android:layout_column="1" android:text="XX" android:textSize="32sp" /> <TextView android:gravity="right" android:text="CTRL+O" android:textSize="32sp" /> </TableRow> <TableRow > <TextView android:text=" " android:textSize="32sp" /> <TextView android:text="XX" android:textSize="32sp" /> <TextView android:text="SHIFT+CTRL+O" android:textSize="32sp" /> </TableRow> <TableRow > <TextView android:text="T" android:textSize="32sp" /> <TextView android:layout_span="2" android:text="XX" android:textSize="32sp" /> </TableRow></TableLayout>
0 0
- tablelayout
- TableLayout
- tablelayout
- TableLayout
- TableLayout
- TableLayout
- TableLayout
- TableLayout
- TableLayout
- TableLayout
- TableLayout
- TableLayout
- TableLayout
- TableLayout
- TableLayout
- Tablelayout
- Tablelayout
- TableLayout
- Mybatis3源码分析(07)-加载Configuration-总结
- iOS,Xcode7真机调试
- BZOJ1012最大数maxnumber
- 一个程序猿的奋斗史——大学入学
- 连接查询
- TableLayout
- BZOJ2186: [Sdoi2008]沙拉公主的困惑
- BZOJ_P1088&Codevs_P2452 [SCOI2005]扫雷(DP)
- (3)使用Lucene、LingPipe做实体链接(Entity Linking)——思路描述
- Java中的锁——队列同步器
- TensorFlow 官方文档中文版
- MATLAB中cell数组的是是非非
- printf 参数汇总
- hadoop再次集群搭建(5)-CDH Install