<?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>
菜鸟求助,望各位大虾慷慨解答,非常感谢!
解决方案 »
- 三本经典高清Android开发书籍分享 - 不需要积分(不收藏会后悔)
- 请问如何在Linux中使用ddms
- 关于post传输,接收返回值的问题.
- 监听线程被关闭的问题!!!!
- 问一个android环境的问题?
- Android 定时开关机
- 关于调用第三方office软件操作office文档
- android报错,新手,求指导
- 为改变这个世界尽一份力量,请加入我们一起用移动互联网改变世界!
- HBuilder 移动App 安卓手机指纹识别
- 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>