<TableLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:shrinkColumns="0"
android:stretchColumns="1">
<TableRow
>
<TextView
android:text="@string/Red"
android:background="#cc0000"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<TextView
android:text="@string/Green"
android:background="#00cc00"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<TextView
android:text="@string/Blue"
android:background="#0000aa"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</TableRow>
<TableRow
>
<TextView
android:text="@string/Blue"
android:background="#0E0EED"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<TextView
android:text="@string/Yellow"
android:background="#FCFC05"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</TableRow>
</TableLayout>
Comments
Post a Comment