ui: adjustement on left menu
diff --git a/res/layout/frag_menu.xml b/res/layout/frag_menu.xml
index ec4b03c..f70f99d 100644
--- a/res/layout/frag_menu.xml
+++ b/res/layout/frag_menu.xml
@@ -8,7 +8,7 @@
<RelativeLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="100dp"
android:background="@color/sfl_blue_0"
android:padding="5dp" >
@@ -23,31 +23,39 @@
android:id="@+id/user_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_centerVertical="true"
+ 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_alignRight="@+id/user_name"
+ android:layout_alignParentBottom="true"
+ 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>
- <TextView
- android:id="@+id/list_header_title"
- style="?android:attr/listSeparatorTextViewStyle"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingBottom="2dip"
- android:paddingLeft="5dip"
- android:paddingTop="2dip"
- android:text="@string/frag_menu_accounts_title"
- android:textColor="@color/black" />
-
- <Spinner
- android:id="@+id/account_selection"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
-
<ListView
android:id="@+id/listView"
android:layout_width="match_parent"