From 5e6987246be580c0f5b23c95d163432f7c6edb44 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 25 Nov 2018 06:20:41 +0000 Subject: [PATCH] update drawer menu with clipart icons and common style --- app/build.gradle | 1 + .../res/drawable/ic_assignment_black_24dp.xml | 10 ++++ .../drawable/ic_exit_to_app_black_24dp.xml | 10 ++++ .../main/res/drawable/ic_home_black_24dp.xml | 10 ++++ .../res/drawable/ic_settings_black_24dp.xml | 10 ++++ app/src/main/res/layout/drawer.xml | 55 +++++++++++++++++++ .../activity_latest_transactions_drawer.xml | 32 ++++++----- app/src/main/res/values/strings.xml | 2 + app/src/main/res/values/styles.xml | 10 ++++ 9 files changed, 127 insertions(+), 13 deletions(-) create mode 100644 app/src/main/res/drawable/ic_assignment_black_24dp.xml create mode 100644 app/src/main/res/drawable/ic_exit_to_app_black_24dp.xml create mode 100644 app/src/main/res/drawable/ic_home_black_24dp.xml create mode 100644 app/src/main/res/drawable/ic_settings_black_24dp.xml create mode 100644 app/src/main/res/layout/drawer.xml diff --git a/app/build.gradle b/app/build.gradle index 054c76f1..3397bcd5 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -16,6 +16,7 @@ android { proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } + sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] } } } dependencies { diff --git a/app/src/main/res/drawable/ic_assignment_black_24dp.xml b/app/src/main/res/drawable/ic_assignment_black_24dp.xml new file mode 100644 index 00000000..2e855751 --- /dev/null +++ b/app/src/main/res/drawable/ic_assignment_black_24dp.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_exit_to_app_black_24dp.xml b/app/src/main/res/drawable/ic_exit_to_app_black_24dp.xml new file mode 100644 index 00000000..5e098796 --- /dev/null +++ b/app/src/main/res/drawable/ic_exit_to_app_black_24dp.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_home_black_24dp.xml b/app/src/main/res/drawable/ic_home_black_24dp.xml new file mode 100644 index 00000000..8a9ef1db --- /dev/null +++ b/app/src/main/res/drawable/ic_home_black_24dp.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_settings_black_24dp.xml b/app/src/main/res/drawable/ic_settings_black_24dp.xml new file mode 100644 index 00000000..d6f85a38 --- /dev/null +++ b/app/src/main/res/drawable/ic_settings_black_24dp.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/layout/drawer.xml b/app/src/main/res/layout/drawer.xml new file mode 100644 index 00000000..92bac44d --- /dev/null +++ b/app/src/main/res/layout/drawer.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/menu/activity_latest_transactions_drawer.xml b/app/src/main/res/menu/activity_latest_transactions_drawer.xml index c81ecc5d..f1f459ee 100644 --- a/app/src/main/res/menu/activity_latest_transactions_drawer.xml +++ b/app/src/main/res/menu/activity_latest_transactions_drawer.xml @@ -3,10 +3,12 @@ xmlns:tools="http://schemas.android.com/tools" tools:showIn="navigation_view"> - + - - - - - + + + + + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 5ed7eec2..188b6301 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -9,4 +9,6 @@ Latest transactions Reports Exit + System + Sys diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 545b9c6d..2ed9b110 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -17,4 +17,14 @@ + -- 2.39.5