TableLayout 布局管理器简单实例
来源:互联网 发布:戚继光的妻子知乎 编辑:程序博客网 时间:2024/06/09 15:06
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:gravity="center_vertical" android:stretchColumns="0,3" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity" > <!-- 第一行 --> <TableRow android:id="@+id/tableRow1" android:layout_width="wrap_content" android:layout_height="wrap_content" > <TextView /> <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="用户名:" android:textSize="24px" /> <EditText android:id="@+id/editText1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textSize="24px" /> </TableRow> <!-- 第二行 --> <TableRow android:id="@+id/tableRow2" android:layout_width="wrap_content" android:layout_height="wrap_content" > <TextView /> <TextView android:id="@+id/textView2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="密 码:" android:textSize="24px" /> <EditText android:id="@+id/editText2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textSize="24px" android:inputType="textPassword" /> </TableRow> <!-- 第三行 --> <TableRow android:id="@+id/tableRow3" android:layout_width="wrap_content" android:layout_height="wrap_content" > <TextView /> <Button android:id="@+id/btn1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="登 录" /> <Button android:id="@+id/btn2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="退 出" /> <TextView /> </TableRow></TableLayout>
年后又开始工作了,人还没来齐,又到了复习的好机会,昨天写了一个基本的adb命令发现这些基础的东西还是有蛮多人看的就想这个也写上来吧,大家一起回顾一下。
0 0
- TableLayout 布局管理器简单实例
- TableLayout 表格布局管理器
- android布局管理器之TableLayout
- Android表格布局管理器TableLayout
- javaSwing布局管理器之TableLayout
- 四.简单的TableLayout布局
- Ext布局之TableLayout表格布局实例
- Android布局方式之表格布局管理器(TableLayout)
- Android开发5:布局管理器2(表格布局TableLayout)
- java Swing编程之布局管理器简单实例DEMO
- Android使用TableLayout动态布局实例
- Android使用TableLayout动态布局实例
- android四种布局管理器 FrameLayout LinearLayout TableLayout RelativeLayout
- Android五种布局管理器之『TableLayout』
- Android五种布局管理器之『TableLayout』
- 一步一步学android之布局管理器——TableLayout
- Android学习笔记13:表格布局管理器TableLayout
- Android的布局管理器(上篇)-LinearLayout、TableLayout、FrameLayout、RelativeLayout
- 自动布局 Autolayout 报错:Unable to simultaneously satisfy constraints.
- java将list对象转换为json字符串数据显示为空的信息
- iOS8 WebKit库之——WKWebView篇
- BZOJ系列1196《[HNOI2006]公路修建问题》题解
- nutch1.9 如何设置 topN
- TableLayout 布局管理器简单实例
- 浅析深究什么是SOA?
- 根据查询语句导出mysql到sql文件
- android基础学习之让activity全屏显示
- 无法与域的active directory域控制器连接
- Android绘制listview的优化理解
- iOS学习资源
- JAVA算汉字真实长度
- Spring Data JPA