Commit 330d1d16 authored by Alexandre Perraud's avatar Alexandre Perraud

UI : Sidebar design cosmetics

parent 45e832c8
......@@ -10,11 +10,9 @@
android:id="@+id/sidelist"
android:layout_width="208dp"
android:layout_height="match_parent"
android:divider="?attr/background_menu_divider"
android:dividerHeight="0.2dp"
android:paddingTop="?attr/actionBarSize"
android:cacheColorHint="#0000"
android:layout_above="@+id/sidebar_separator_about"
android:layout_above="@+id/sidebar_separator_settings"
android:nextFocusForward="@id/sidelist"
android:nextFocusUp="@id/sidelist"
android:nextFocusDown="@id/sidelist"
......@@ -23,48 +21,41 @@
</ListView>
<View
android:id="@+id/sidebar_separator_about"
android:id="@+id/sidebar_separator_settings"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_above="@+id/about"
android:layout_above="@+id/settings"
android:background="?attr/playlist_item_footer" />
<ImageView
android:id="@+id/about_icon"
android:id="@+id/settings_icon"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_alignParentLeft="true"
android:layout_above="@+id/sidebar_separator_settings"
android:layout_above="@+id/about_icon"
android:layout_margin="10dp"
android:clickable="true"
android:onClick="onClick"
android:src="?attr/ic_menu_cone"/>
android:src="?attr/ic_menu_preferences"/>
<TextView
android:id="@+id/about"
android:id="@+id/settings"
android:layout_width="match_parent"
android:layout_height="32dp"
android:layout_toRightOf="@+id/about_icon"
android:layout_above="@+id/sidebar_separator_settings"
android:layout_toRightOf="@+id/settings_icon"
android:layout_above="@+id/about_icon"
android:gravity="left|center_vertical"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:clickable="true"
android:onClick="onClick"
android:text="@string/about"
android:text="@string/preferences"
android:textColor="?attr/list_menu"
android:textSize="16sp"
android:fontFamily="sans-serif"/>
<View
android:id="@+id/sidebar_separator_settings"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_above="@+id/settings"
android:background="?attr/playlist_item_footer" />
<ImageView
android:id="@+id/settings_icon"
android:id="@+id/about_icon"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_alignParentLeft="true"
......@@ -72,20 +63,20 @@
android:layout_margin="10dp"
android:clickable="true"
android:onClick="onClick"
android:src="?attr/ic_menu_preferences"/>
android:src="?attr/ic_menu_cone"/>
<TextView
android:id="@+id/settings"
android:id="@+id/about"
android:layout_width="match_parent"
android:layout_height="32dp"
android:layout_toRightOf="@+id/about_icon"
android:layout_alignParentBottom="true"
android:layout_toRightOf="@+id/settings_icon"
android:gravity="left|center_vertical"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:clickable="true"
android:onClick="onClick"
android:text="@string/preferences"
android:text="@string/about"
android:textColor="?attr/list_menu"
android:textSize="16sp"
android:fontFamily="sans-serif"/>
......
......@@ -9,7 +9,7 @@
android:drawableLeft="@drawable/icon"
android:drawablePadding="5dip"
android:gravity="left|center_vertical"
android:padding="13dip"
android:padding="10dip"
android:text="@string/title"
android:textColor="?attr/list_menu"
android:textSize="16sp" />
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment