From 1fa2fca7e8cc32c30f159badaedd2d43f9fe802e Mon Sep 17 00:00:00 2001 From: Size43 Date: Wed, 10 Jun 2015 21:22:16 +0200 Subject: Highlighting hamburger menu items --- app/src/main/res/drawable/menuitem.xml | 8 ++++++++ .../res/drawable/navigation_drawer_item_selector.xml | 20 -------------------- .../navigation_drawer_separator_selector.xml | 20 -------------------- app/src/main/res/drawable/separator.xml | 1 + app/src/main/res/layout/item_navigation_drawer.xml | 2 +- app/src/main/res/values/styles.xml | 6 ++++++ 6 files changed, 16 insertions(+), 41 deletions(-) create mode 100755 app/src/main/res/drawable/menuitem.xml delete mode 100755 app/src/main/res/drawable/navigation_drawer_item_selector.xml delete mode 100755 app/src/main/res/drawable/navigation_drawer_separator_selector.xml mode change 100644 => 100755 app/src/main/res/drawable/separator.xml mode change 100644 => 100755 app/src/main/res/values/styles.xml (limited to 'app') diff --git a/app/src/main/res/drawable/menuitem.xml b/app/src/main/res/drawable/menuitem.xml new file mode 100755 index 0000000..34baaf5 --- /dev/null +++ b/app/src/main/res/drawable/menuitem.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/navigation_drawer_item_selector.xml b/app/src/main/res/drawable/navigation_drawer_item_selector.xml deleted file mode 100755 index 4672bbb..0000000 --- a/app/src/main/res/drawable/navigation_drawer_item_selector.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable/navigation_drawer_separator_selector.xml b/app/src/main/res/drawable/navigation_drawer_separator_selector.xml deleted file mode 100755 index 516b1e0..0000000 --- a/app/src/main/res/drawable/navigation_drawer_separator_selector.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable/separator.xml b/app/src/main/res/drawable/separator.xml old mode 100644 new mode 100755 index 28e9a5e..4da44ad --- a/app/src/main/res/drawable/separator.xml +++ b/app/src/main/res/drawable/separator.xml @@ -2,6 +2,7 @@ + diff --git a/app/src/main/res/layout/item_navigation_drawer.xml b/app/src/main/res/layout/item_navigation_drawer.xml index e1e996c..6185af8 100755 --- a/app/src/main/res/layout/item_navigation_drawer.xml +++ b/app/src/main/res/layout/item_navigation_drawer.xml @@ -25,7 +25,7 @@ android:layout_alignParentLeft="true" android:orientation="vertical" android:layout_marginTop="0dp" - android:background="@drawable/navigation_drawer_item_selector"> + android:background="@drawable/menuitem"> #ffc400 #353535 + #555555 #757575 @color/separator_focused + + #121212 + #555555 + #757575 + @color/menuitem_focused -- cgit v1.2.3