| <?xml version="1.0" encoding="utf-8"?> |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:background="@color/light" |
| android:orientation="vertical" |
| android:paddingTop="?android:attr/actionBarSize" > |
| |
| <RelativeLayout |
| android:layout_width="match_parent" |
| android:layout_height="100dp" |
| android:background="@color/sfl_blue_0" |
| android:padding="5dp" > |
| |
| <ImageView |
| android:id="@+id/user_photo" |
| android:layout_width="70dp" |
| android:layout_height="70dp" |
| android:layout_alignParentLeft="true" |
| android:layout_centerVertical="true" /> |
| |
| <TextView |
| android:id="@+id/user_name" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_alignParentRight="true" |
| android:layout_marginLeft="15dp" |
| android:layout_toRightOf="@+id/user_photo" |
| android:singleLine="true" |
| android:textColor="@color/white" |
| android:textSize="20sp" |
| android:textStyle="bold" /> |
| |
| <RelativeLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_alignLeft="@+id/user_name" |
| android:layout_alignParentBottom="true" |
| android:layout_alignRight="@+id/user_name" |
| android:layout_below="@+id/user_name" > |
| |
| <Spinner |
| android:id="@+id/account_selection" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:background="@color/sfl_blue_0" /> |
| |
| <ImageView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_alignParentRight="true" |
| android:layout_centerVertical="true" |
| android:clickable="false" |
| android:focusable="false" |
| android:src="@drawable/ic_action_expand_light" /> |
| </RelativeLayout> |
| </RelativeLayout> |
| |
| <ListView |
| android:id="@+id/listView" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:choiceMode="singleChoice" |
| android:listSelector="@drawable/navigation_selector" > |
| </ListView> |
| |
| </LinearLayout> |