Created
January 24, 2014 09:33
-
-
Save facebookegypt/8594514 to your computer and use it in GitHub Desktop.
@string resource solution 0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Android Development Solution --> | |
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:orientation="vertical" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent"> | |
<LinearLayout | |
android:orientation="horizontal" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:layout_weight="1"> | |
<TextView | |
android:text="red" | |
android:gravity="center_horizontal" | |
android:background="#aa0000" | |
android:layout_width="wrap_content" | |
android:layout_height="fill_parent" | |
android:layout_weight="1"/> | |
<TextView | |
android:text="green" | |
android:gravity="center_horizontal" | |
android:background="#00aa00" | |
android:layout_width="wrap_content" | |
android:layout_height="fill_parent" | |
android:layout_weight="1"/> | |
<TextView | |
android:text="blue" | |
android:gravity="center_horizontal" | |
android:background="#0000aa" | |
android:layout_width="wrap_content" | |
android:layout_height="fill_parent" | |
android:layout_weight="1"/> | |
<TextView | |
android:text="yellow" | |
android:gravity="center_horizontal" | |
android:background="#aaaa00" | |
android:layout_width="wrap_content" | |
android:layout_height="fill_parent" | |
android:layout_weight="1"/> | |
</LinearLayout> | |
<LinearLayout | |
android:orientation="vertical" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:layout_weight="1"> | |
<TextView | |
android:text="row one" | |
android:textSize="15pt" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:layout_weight="1"/> | |
<TextView | |
android:text="row two" | |
android:textSize="15pt" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:layout_weight="1"/> | |
<TextView | |
android:text="row three" | |
android:textSize="15pt" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:layout_weight="1"/> | |
<TextView | |
android:text="row four" | |
android:textSize="15pt" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:layout_weight="1"/> | |
</LinearLayout> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment