Created
August 3, 2011 21:01
-
-
Save donnfelker/1123762 to your computer and use it in GitHub Desktop.
spring loading your textviews
This file contains 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
<?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" | |
android:background="#6a9938" | |
> | |
<TextView | |
android:layout_height="wrap_content" | |
android:layout_width="wrap_content" | |
android:text="UI Examples" | |
android:textSize="25sp" | |
android:textColor="#FFFFFF" | |
android:textStyle="bold" | |
android:layout_marginTop="15dp" | |
android:layout_marginLeft="15dp" | |
/> | |
<LinearLayout | |
android:layout_width="fill_parent" | |
android:layout_height="100dp" | |
android:layout_margin="15dp" | |
android:background="@drawable/rounded_corners_white"> | |
<LinearLayout | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:layout_margin="15dp"> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="This is the long text over here" | |
android:textStyle="bold" | |
android:textColor="#707070" | |
/> | |
<TextView | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="1" | |
android:gravity="center_horizontal" | |
android:text="\u2022" | |
/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="shorty" | |
android:textStyle="bold" | |
android:textColor="#707070" | |
/> | |
</LinearLayout> | |
</LinearLayout> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment