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h7KGzbt+bHfbgxYlZi1xenBY2fFbdga+Tfv43NLt6ydN0bl02Xrl27dv369atXrxaV5M1b+ur3aZ/MSoyc+mncoJH8G4s6L9nR7eNN0QOHu33yrdi206dPnzJlitlsDg4O5nm+b9++TU1N0dHRUtvyPL9///6ioiLx33l5eTk5OZLEarWK+1axUp9//nnx+pSUlPr6eqkKV69eXVpaKv7b/kyCfduOGTNGOic7f/586fOltuVbnkno0aOHIAjTpk3jef7ZZ58VBGHEiBFeHWEAQNtDYdu+8VHcvA1d31/XZfRUw7j3Yz/eFLn4m5iymh/++7+f888eWPP1jNNFOQtXjSuvPH316v92Hln1/trIqZ/GP/4s//bisE+2x374dfTAZzq780tt27lz54aGhldeeYXn+X379p05c4bnefu2HT58uCAIjz76aEJCQlNT02uvvSZJBEHo1asXz/MGg6G8vDw1NVW8PjMzMz093eXXdde2ou3ll182GAy1tbVffPGFeKW7tuV5vri4OC0tjef5pKSk2tpa8RsGAOCXjLK2NUycGz87qcvMz8NfmGoYMz36w68jFqVEl1X/IJ5B+M/P/7d9//yrV/8n/vf7I6veXRUxdWnCgBH8m5+ELkqOnbc++rGnW29bnuc3btx45MgRnudra2uHDh3Kt2zbTp06NTQ0rFy5ct68eYIgRN4Y5IsvvhBaUldXJ37IaDQeO3bM5df10LZZWVnnz5/v0aNHU1OT9CRcD2370ksvNTY2durUqbq6evny5V4dXgBAm0Rh2457P2HWl11mrA7/25SHXp3ebe76rgu2Rklt+/PP/0nZt/Datavi2dvk3Z9MW9F16tLujw/n31rceeG22DlfRfd/0u3bJti37eDBgwVBWLlyZWNjY2hoKN+ybXmeX7ZsWUFBQWZm5o4dO6QrzWbz3r17e9/gr3/9qyAIr7/+Os/z3377rcViCQpqfgfIJ5988q233pJu5a5to6OjbTbbnDlzTp06JX0VD20bFRXV1NSUlJQkCMKgQYO8OrwAgDaJwjMJr06Pf39d2LQVYaPe+dPLU2LmfNXl481RRZf2X79+zaFtr127ujF13tRlXWZ82vexZ/g3F3WevyV2Vm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d21Lsgzk25w/X5+21WJMd217+fJlX7WtHFuu7LZt1UYbrFWD1LZyloH8FdWqjVDFso3ZYCyP6XXbel4JXq0oBSp3bVtXV+e5bb0NRj6mh7YVfyj2SbBWbblEbUserFXs29bzSvBqRdGuT9pgtDaMST6mkrZ1txIUrCgPi8rlJytrW2XBaMfMysqialvaYJ5tuTfa1vlR5dy27lS0jw2Zt83OzrZvW3crwdvl5HlREdqUqWhtGJM2mMK2lRaDdKkSmapW29ZBpWc2z2RlZZWVlUk/2EqXyto2T68xPbRtWVmZu4eKRqm8Ejq3rZRculSJRqo2nM1fxiRU2QtVta23C0C9ynPbis9Y8FU2z4h7W4fvmRale1vabB5UytqWNpUyobu2pVpR5CpyIZsqciGbKpdCtW2rM161LVOIe1vnu1N922qK4rb1OR7aFgCfgLbVCWlvax+bZG+rKWhbAKho0bZWq5WqbdesWRMTExMUFHTPPffcfvvt6oUiHtq2qKiIpG1zc3NHjBhx9913t2/fvkOHDr179ybRSntbm81mtVrFSyvp3jY5Oblz58633377rbfeev/997/33nvqnTq37VNPPXXfffctW7ZMvcpl29offOkuUIamKpazEapYzkaokoRa7W1XrVqVkJDQo0eP2267jeM49UIRHfa2AwcO5Dhu/PjxW7ZseffddwMCAkJDQ9VrtT6T8P33399666333nvv2rVrN23aFBMTw3HcunXrVGr1bNsNGzZwHMdx3MKFC9XbsLcFrKHV3lbivvvu06dtSfa2u3btCggIGDZsmHRNdHQ0SX6t97ZDhw5t37790aNHpS93xx13REdHq9Tq1rZGo/F3v/vdHXfcoVHbuttxKNjI6KZiORuhiuVshCqbzea4t/3xxx/9tG1J9rapqamDBg1KTEyUrhk0aBBh2zrfKzU1NSRtm5qaun37dvtr7rnnngceeEClVre2nTlz5i233DJv3jwt2pZwtftvcWBMTVVyhI57W/9tW6rztg7cfffdtG1rs8NqtdbU1Kh8bYJLDhw4EBAQMHbsWJUefdr2yJEjHMeNHDlyxYoV5G1rk4f85aSnimUbs8GYHRNt64n58+dzHLdixQr1Kg9t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IR2hTpqK1YUzfBqO1YUzfBqO16TamwrZ1lipLRq5i2cZsMFobs8FobcwGo7UxG4zWpk8w5W0rSVUmY9/GbDBaG7PBaG3MBqO1MRuM1sZsMJc2VW0LAABAJmhbAADQA7QtAADoAdoWAAD0AG0LAAB6gLYFAAA98K5tf/rpJ5mXhEI2VSxnI1SxnI1QxXI2QhXL2QhVzGbzem/L5pxyhIQqjKmpSo6QUIUxNVXJERKqWB5TSdt6QEE4KptnFa3NKxWtDWNiTB2C0dowpoiS87aEo3qwEapYtjEbDGMqsDEbDGMqsJEHU/hbMqpwtCqWbcwGo7UxG4zWxmwwWhuzwWhtugVTft7WWedtRPtbuVTJF7pTqc+GMVVmEzCmlyqMKVPod2MqPJOgPpy7iCyoHIQYU/9sGBNjyhH615g32/an1vD2C1PZmA2GMTGm3wXDmD4cs0XbtnopPxyVilzIporlbBjTWxXL2TCmtypCYXPbum5sJ+Qno1LR2jAmxsSYGNNXY7LetvoHw5gY0++CYUy/GBNtizExJsb0j2D+PiZ92xKq5Nv0z4YxMSbGZDMbs2Nib4sxMSbG9I9g/j6mz/a2LNuYDYYxMabfBcOYEt61rRyjfFWrNkIVyzZmg2FMBTZmg2FMBTbaYF63rWepV55W8xHavFXR2jAmxtQhGK0NY5KPqaRtRanLSwUQqtwJCVUYUzeVOyGhCmPqpnInJFSxP6bCttUnHImQUIUxdVY5CwlVGFNnlbOQUOUXYypvWwAAAPJB2wIAgB4ob9t//vOfDpcqYV/FcjZCFcvZCFUsZyNUsZyNUMVyNgnsbQEAQA+UtK3ztxTF3xMIVZ6FhCqMqYPKs5BQhTF1UHkWEqoYH/P/A03tOs+q8ls3AAAAAElFTkSuQmCC" alt="" />
相关代码:
<GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:columnCount="4"
android:orientation="horizontal"
android:rowCount="2" > <Button
android:id="@+id/button1"
android:text="1" /> <Button
android:id="@+id/button2"
android:text="2" /> <Button
android:id="@+id/button3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="3" /> <Button
android:id="@+id/button4"
android:text="4" /> <Button
android:id="@+id/button5"
android:text="5" /> <Button
android:id="@+id/button6"
android:text="6" /> <Button
android:id="@+id/button7"
android:layout_gravity="fill_horizontal"
android:text="7"
android:layout_columnSpan="2"/> </GridLayout>
网格布局常见XML属性:
•设置布局的排列对齐:
–①设置组件的排列方式: android:orientation="vertical" (竖直,默认)或者horizontal(水平)
–②设置组件的对齐方式: android:layout_gravity=“” center,left,right,buttom;如果想同时用两种的话:eg: buttom|left
•设置布局为几行几列:
–①设置有多少行:android:rowCount="4" //设置网格布局有4行
–②设置有多少列:android:columnCount="4" //设置网格布局有4列
•设置某个组件位于几行几列(注:都是从0开始算的!)
–①组件在第几行:android:layout_row = "1" //设置组件位于第二行
–②组件在第几列:android:layout_column = "2" //设置该组件位于第三列
•设置某个组件横跨几行几列:
–①横跨几行:android:layout_rowSpan = "2" //纵向横跨2行
–②横跨几列:android:layout_columnSpan = "3" //横向横跨2列
|
Android---表格布局的更多相关文章
- Android表格布局(Table Layout)
Android表格布局(Table Layout) 先来看布局管理器之间继承关系图: 图1 可知TableLayout继承了LinearLayout,所以表格布局本质上依然是线性管理器. 表格布局采用 ...
- Android表格布局之设置边框
Android表格布局本身没有边框,不过可以通过背景色的设置可以实现表格边框的显示. 首先可以设置TableRow的背景色,然后设置内容的背景色.根据它们的颜色差就出现了边框.只要微调Content与 ...
- Android 表格布局<TableLayout>
表格布局即,tableLayout,表格布局通过行.列的形式来管理UI组件,TablelLayout并不需要明确地声明包含多少行.多少列,而是通过TableRow,以及其他组件来控制表格的行数和列数, ...
- [android] 表格布局和绝对布局
/*****************2016年4月28日 更新*************************************/ 知乎:为什么Android没有像iOS一样提供autolay ...
- Android 表格布局 TableLayout
属性介绍 stretchColumns:列被拉伸 shrinkColumns:列被收缩 collapseColumns:列被隐藏 举例测试 <TableLayout android:id=&qu ...
- android——相对布局,表格布局
1.相对布局 RelativeLayout 又称作相对布局,也是一种非常常用的布局.和LinearLayout 的排列规则不同,RelativeLayout 显得更加随意一些,它可以通过相对定位的方式 ...
- Android课程---表格布局TableLayout
特别注意:由于表格布局继承自线性布局,因此并不显示表格线 示例代码: <?xml version="1.0" encoding="utf-8"?> ...
- Android布局_表格布局TableLayout
一.TableLayout概述 TableLayout表格布局模型以行列的形式管理子控件,每一行为一个TableRow的对象,当然也可以是一个View的对象 二.TableLayout的全局属性 1 ...
- Android布局— — —表格布局
表格布局 以表格的形式来显示界面中的控件,表格的每一行为一个TableRow,每当一个控件添加到TableRow中,就生成一个单元格. 语法格式: <TableLayout xmlns:andr ...
- Android:控件布局(表格布局)TableLayout
TableLayout继承LinearLayout 实例:用表格布局实现计算机布局>>>>>>>>>>>> 有多少个TableR ...
随机推荐
- 7z命令行工具
7z (中文)是优秀开源的压缩解压缩软件(wiki: en 中文),有windows版本与linux版本,最新的9.32版本支持的格式包括: 压缩与解压缩均支持:7z, XZ, BZIP2, GZI ...
- JavaScript中判断对象类型方法大全1
我们知道,JavaScript中检测对象类型的运算符有:typeof.instanceof,还有对象的constructor属性: 1) typeof 运算符 typeof 是一元运算符,返回结果是一 ...
- HDU5792 World is Exploding(树状数组)
一共6种情况,a < b且Aa < Ab, c < d 且Ac > Ad,这两种情况数量相乘,再减去a = c, a = d, b = c, b = d这四种情况,使用树状数组 ...
- Uncaught ReferenceError: console is not defined
今天写javascript代码遇到了这个极其神奇的问题,居然报错说内置的console不存在,而且后来我换成了alert也不行.照例说这些都是js代码内置的东西不应该出现这种错误.不过百度之发现貌似没 ...
- 删除表数据drop、truncate和delete的用法
说到删除表数据的关键字,大家记得最多的可能就是delete了 然而我们做数据库开发,读取数据库数据.对另外的两兄弟用得就比较少了 现在来介绍另外两个兄弟,都是删除表数据的,其实也是很容易理解的 老大- ...
- 【转】Struts2中json插件的使用
配置注意点: 在原有Struts2框架jar包的引入下,需要额外多加一个Json的插件包(struts2-json-plugin-2.3.7.jar) 在struts.xml配置文件中,包需要继承js ...
- Almost Sorted Array
http://acm.hdu.edu.cn/contests/contest_showproblem.php?cid=646&pid=1006 #include<iostream> ...
- Swift3.0语言教程分割字符串与截取字符串
Swift3.0语言教程分割字符串与截取字符串 Swift3.0语言教程分割字符串 如果想要快速的创建一个数组,我们可以将字符串进行分割,分割后的内容将会生成一个数组.在NSString中有两个分割字 ...
- ASP.NET MVC3 中整合 NHibernate3.3、Spring.NET2.0 时 Session 关闭问题
一.问题描述 在向ASP.NET MVC中整合NHibernate.Spring.NET后,如下管理员与角色关系: 类public class Admin { public virtual strin ...
- Spring Boot 集成MyBatis
http://blog.csdn.net/isea533/article/details/50359390