alision | 9f7a6ec | 2013-05-24 16:26:26 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | android:layout_width="match_parent" |
| 4 | android:layout_height="match_parent" |
Alexandre Lision | 8b9d8e8 | 2013-10-04 09:21:27 -0400 | [diff] [blame] | 5 | android:background="@color/light" |
| 6 | android:orientation="vertical" |
| 7 | android:paddingTop="?android:attr/actionBarSize" > |
alision | 9f7a6ec | 2013-05-24 16:26:26 -0400 | [diff] [blame] | 8 | |
Alexandre Lision | fd3fcd9 | 2013-10-25 15:23:52 -0400 | [diff] [blame] | 9 | <RelativeLayout |
| 10 | android:layout_width="match_parent" |
Alexandre Lision | dd6623b | 2013-12-02 16:23:40 -0500 | [diff] [blame] | 11 | android:layout_height="100dp" |
Alexandre Lision | e5b6602 | 2013-10-30 11:34:15 -0400 | [diff] [blame] | 12 | android:background="@color/sfl_blue_0" |
Alexandre Lision | fd3fcd9 | 2013-10-25 15:23:52 -0400 | [diff] [blame] | 13 | android:padding="5dp" > |
| 14 | |
| 15 | <ImageView |
| 16 | android:id="@+id/user_photo" |
| 17 | android:layout_width="70dp" |
| 18 | android:layout_height="70dp" |
| 19 | android:layout_alignParentLeft="true" |
| 20 | android:layout_centerVertical="true" /> |
| 21 | |
| 22 | <TextView |
| 23 | android:id="@+id/user_name" |
| 24 | android:layout_width="wrap_content" |
| 25 | android:layout_height="wrap_content" |
Alexandre Lision | dd6623b | 2013-12-02 16:23:40 -0500 | [diff] [blame] | 26 | android:layout_alignParentRight="true" |
Alexandre Lision | fd3fcd9 | 2013-10-25 15:23:52 -0400 | [diff] [blame] | 27 | android:layout_marginLeft="15dp" |
Alexandre Lision | e5b6602 | 2013-10-30 11:34:15 -0400 | [diff] [blame] | 28 | android:layout_toRightOf="@+id/user_photo" |
Alexandre Lision | fd3fcd9 | 2013-10-25 15:23:52 -0400 | [diff] [blame] | 29 | android:singleLine="true" |
Alexandre Lision | e5b6602 | 2013-10-30 11:34:15 -0400 | [diff] [blame] | 30 | android:textColor="@color/white" |
| 31 | android:textSize="20sp" |
| 32 | android:textStyle="bold" /> |
Alexandre Lision | dd6623b | 2013-12-02 16:23:40 -0500 | [diff] [blame] | 33 | |
| 34 | <RelativeLayout |
| 35 | android:layout_width="match_parent" |
| 36 | android:layout_height="wrap_content" |
| 37 | android:layout_alignLeft="@+id/user_name" |
Alexandre Lision | dd6623b | 2013-12-02 16:23:40 -0500 | [diff] [blame] | 38 | android:layout_alignParentBottom="true" |
Alexandre Lision | 658999c | 2013-12-13 14:42:45 -0500 | [diff] [blame^] | 39 | android:layout_alignRight="@+id/user_name" |
Alexandre Lision | dd6623b | 2013-12-02 16:23:40 -0500 | [diff] [blame] | 40 | android:layout_below="@+id/user_name" > |
| 41 | |
| 42 | <Spinner |
| 43 | android:id="@+id/account_selection" |
| 44 | android:layout_width="match_parent" |
| 45 | android:layout_height="wrap_content" |
| 46 | android:background="@color/sfl_blue_0" /> |
| 47 | |
| 48 | <ImageView |
| 49 | android:layout_width="wrap_content" |
| 50 | android:layout_height="wrap_content" |
| 51 | android:layout_alignParentRight="true" |
| 52 | android:layout_centerVertical="true" |
| 53 | android:clickable="false" |
| 54 | android:focusable="false" |
| 55 | android:src="@drawable/ic_action_expand_light" /> |
| 56 | </RelativeLayout> |
Alexandre Lision | fd3fcd9 | 2013-10-25 15:23:52 -0400 | [diff] [blame] | 57 | </RelativeLayout> |
| 58 | |
alision | 9f7a6ec | 2013-05-24 16:26:26 -0400 | [diff] [blame] | 59 | <ListView |
| 60 | android:id="@+id/listView" |
| 61 | android:layout_width="match_parent" |
Alexandre Lision | 658999c | 2013-12-13 14:42:45 -0500 | [diff] [blame^] | 62 | android:layout_height="wrap_content" |
| 63 | android:choiceMode="singleChoice" |
| 64 | android:listSelector="@drawable/navigation_selector" > |
alision | 9f7a6ec | 2013-05-24 16:26:26 -0400 | [diff] [blame] | 65 | </ListView> |
| 66 | |
| 67 | </LinearLayout> |