<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TableLayout
<TextView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:stretchColumns="1">
<TableRow>
android:text="测试Layout:"
abdroid:id="@+id/layoutTextView01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/red_bg"
/>
<EditText
android:text=""
android:id="@+id/EditText01"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
</TableRow>
<TableRow android:gravity="right">
<Button
android:text="Test"
android:id="@+id/layoutButton01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</TableRow>
></TableLayout></LinearLayout>
菜鸟求助,望各位大虾慷慨解答,非常感谢!
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TableLayout
<TextView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:stretchColumns="1">
<TableRow>
android:text="测试Layout:"
abdroid:id="@+id/layoutTextView01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/red_bg"
/>
<EditText
android:text=""
android:id="@+id/EditText01"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
</TableRow>
<TableRow android:gravity="right">
<Button
android:text="Test"
android:id="@+id/layoutButton01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</TableRow>
></TableLayout></LinearLayout>
菜鸟求助,望各位大虾慷慨解答,非常感谢!
解决方案 »
- gallery求助
- android怎样使音量按钮固定为媒体音量控制
- Oracle VM VirtualBox 安装android-x86-2.2出错
- 初涉Android开发,读取手机号码薄
- Android中的.config文件在哪儿?
- 什么样的开发环境,程序运行速度快一点,windows下搭建(elipse+ adt+ android-sdk)
- UBUNTU编译XBMC for android编译不过
- 新建android工程中scr中没有文件怎么办,也新建不了activity,新手求帮助,谢谢
- 如何使用CursorLoader实现删除
- 想知道Android trackball指的是什么?
- android启动后出现:invalid option 'chmod'
- 在公司内下android源代码出现server certificate verification failed的情况
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TableLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:stretchColumns="1">
<TableRow>
<TextView
android:text="测试Layout:"
android:id="@+id/layoutTextView01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#ff0000"/> <EditText
android:text=""
android:id="@+id/EditText01"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
</TableRow>
<TableRow android:gravity="right">
<Button
android:text="Test"
android:id="@+id/layoutButton01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</TableRow>
</TableLayout>
</LinearLayout>