From 82270d7c951e1a89c106199aba6c83ddc9dcf891 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Fri, 26 Feb 2016 07:20:17 +0100 Subject: [PATCH] Added Home menu item Created numbered icons (snazzy vectors) Created vector home icon --- app/src/main/res/drawable/ic_menu_house.xml | 33 +++++++++++++++++++ app/src/main/res/drawable/number_one.xml | 8 ++--- app/src/main/res/drawable/number_three.xml | 17 ++++++++++ app/src/main/res/drawable/number_two.xml | 15 +++++++++ .../main/res/menu/activity_main_drawer.xml | 16 +++++---- app/src/main/res/values/strings.xml | 4 +++ 6 files changed, 83 insertions(+), 10 deletions(-) create mode 100644 app/src/main/res/drawable/ic_menu_house.xml create mode 100644 app/src/main/res/drawable/number_three.xml create mode 100644 app/src/main/res/drawable/number_two.xml diff --git a/app/src/main/res/drawable/ic_menu_house.xml b/app/src/main/res/drawable/ic_menu_house.xml new file mode 100644 index 0000000..1fd3812 --- /dev/null +++ b/app/src/main/res/drawable/ic_menu_house.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/number_one.xml b/app/src/main/res/drawable/number_one.xml index 95115e5..afa61e0 100644 --- a/app/src/main/res/drawable/number_one.xml +++ b/app/src/main/res/drawable/number_one.xml @@ -1,13 +1,13 @@ + android:viewportWidth="4.0"> + android:pathData="M0 0 L0 2 L12 2 L12 0"/> + android:pathData="M1 0 L3 0 L3 20 L1 20"/> \ No newline at end of file diff --git a/app/src/main/res/drawable/number_three.xml b/app/src/main/res/drawable/number_three.xml new file mode 100644 index 0000000..b0d1cf5 --- /dev/null +++ b/app/src/main/res/drawable/number_three.xml @@ -0,0 +1,17 @@ + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/number_two.xml b/app/src/main/res/drawable/number_two.xml new file mode 100644 index 0000000..53e9404 --- /dev/null +++ b/app/src/main/res/drawable/number_two.xml @@ -0,0 +1,15 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/menu/activity_main_drawer.xml b/app/src/main/res/menu/activity_main_drawer.xml index 7bd13ef..f943d4d 100644 --- a/app/src/main/res/menu/activity_main_drawer.xml +++ b/app/src/main/res/menu/activity_main_drawer.xml @@ -2,18 +2,22 @@ + + android:icon="@drawable/number_one" + android:title="@string/label_q1" /> + android:icon="@drawable/number_two" + android:title="@string/label_q2" /> + android:icon="@drawable/number_three" + android:title="@string/label_q3" /> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 704316b..543849c 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -19,4 +19,8 @@ Swedish Welcome Introduction + Question 1 + Question 2 + Question 3 + Home