Alexandre Lision | 3ccccf0 | 2013-10-07 14:10:46 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Alexandre Lision | ede1a63 | 2014-02-11 15:03:42 -0500 | [diff] [blame] | 3 | android:id="@id/container" |
Alexandre Lision | 3ccccf0 | 2013-10-07 14:10:46 -0400 | [diff] [blame] | 4 | android:layout_width="match_parent" |
| 5 | android:layout_height="wrap_content" |
| 6 | android:padding="4dp" > |
| 7 | |
Alexandre Lision | ede1a63 | 2014-02-11 15:03:42 -0500 | [diff] [blame] | 8 | <ImageView |
| 9 | android:id="@+id/drag_handle" |
| 10 | android:layout_width="wrap_content" |
| 11 | android:layout_height="wrap_content" |
| 12 | android:layout_centerVertical="true" |
| 13 | android:layout_alignParentLeft="true" |
| 14 | android:layout_marginLeft="10dp" |
| 15 | android:src="@drawable/handle"/> |
| 16 | |
Alexandre Lision | 3ccccf0 | 2013-10-07 14:10:46 -0400 | [diff] [blame] | 17 | <TextView |
| 18 | android:id="@+id/account_alias" |
| 19 | android:layout_width="wrap_content" |
| 20 | android:layout_height="wrap_content" |
Alexandre Lision | ede1a63 | 2014-02-11 15:03:42 -0500 | [diff] [blame] | 21 | android:layout_toRightOf="@+id/drag_handle" |
Alexandre Lision | 3ccccf0 | 2013-10-07 14:10:46 -0400 | [diff] [blame] | 22 | android:layout_alignParentTop="true" |
| 23 | android:layout_marginBottom="4dp" |
| 24 | android:layout_marginLeft="4dp" |
| 25 | android:textAppearance="?android:attr/textAppearanceLarge" /> |
| 26 | |
| 27 | <TextView |
| 28 | android:id="@+id/account_host" |
| 29 | android:layout_width="wrap_content" |
| 30 | android:layout_height="wrap_content" |
Alexandre Lision | ede1a63 | 2014-02-11 15:03:42 -0500 | [diff] [blame] | 31 | android:layout_toRightOf="@+id/drag_handle" |
Alexandre Lision | 3ccccf0 | 2013-10-07 14:10:46 -0400 | [diff] [blame] | 32 | android:layout_below="@+id/account_alias" |
| 33 | android:layout_marginLeft="4dp" |
| 34 | android:textAppearance="?android:attr/textAppearanceSmall" /> |
| 35 | |
| 36 | <CheckBox |
| 37 | android:id="@+id/account_checked" |
| 38 | android:layout_width="wrap_content" |
| 39 | android:layout_height="wrap_content" |
| 40 | android:layout_alignParentRight="true" |
Alexandre Lision | ede1a63 | 2014-02-11 15:03:42 -0500 | [diff] [blame] | 41 | android:layout_marginRight="10dp" |
Alexandre Lision | 3ccccf0 | 2013-10-07 14:10:46 -0400 | [diff] [blame] | 42 | android:focusable="false" |
| 43 | android:layout_centerVertical="true" /> |
| 44 | |
| 45 | </RelativeLayout> |