Skip to content

Instantly share code, notes, and snippets.

@rharter
Created April 17, 2013 19:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rharter/5407184 to your computer and use it in GitHub Desktop.
Save rharter/5407184 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/indicator"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_gravity="center_vertical"
android:scaleType="center"
android:src="@drawable/account_triangle2" />
<TextView
android:id="@+id/text1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toLeftOf="@id/indicator"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignWithParentIfMissing="true"
android:layout_margin="@dimen/account_menu_footer_padding"
android:textColor="@color/white"
android:text="@string/account_label"
android:textAllCaps="true" />
<View
android:layout_width="match_parent"
android:layout_height="2dp"
android:layout_below="@id/text1"
android:background="@drawable/list_divider" />
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment