From ae61ebc52a52daadb2362433590a14a8e658b3a6 Mon Sep 17 00:00:00 2001 From: RicomenPL Date: Sat, 8 Jul 2017 14:31:54 +0200 Subject: [PATCH] Change selected color --- .idea/modules.xml | 2 +- app/src/main/res/color/bottomnavi_color.xml | 5 +++++ app/src/main/res/drawable/ic_dashboard_black_24dp.xml | 2 +- app/src/main/res/drawable/icon_attendance_24dp.xml | 2 +- app/src/main/res/drawable/icon_lessonplan_24dp.xml | 2 +- app/src/main/res/drawable/icon_marks_26dp.xml | 2 +- app/src/main/res/drawable/icon_other_24dp.xml | 2 +- app/src/main/res/layout/activity_dashboard.xml | 4 +++- 8 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 app/src/main/res/color/bottomnavi_color.xml diff --git a/.idea/modules.xml b/.idea/modules.xml index 1f81c9b59..c3a3d587d 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,8 +2,8 @@ + - \ No newline at end of file diff --git a/app/src/main/res/color/bottomnavi_color.xml b/app/src/main/res/color/bottomnavi_color.xml new file mode 100644 index 000000000..a84b03973 --- /dev/null +++ b/app/src/main/res/color/bottomnavi_color.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_dashboard_black_24dp.xml b/app/src/main/res/drawable/ic_dashboard_black_24dp.xml index ae6a44683..f0d02f4f3 100644 --- a/app/src/main/res/drawable/ic_dashboard_black_24dp.xml +++ b/app/src/main/res/drawable/ic_dashboard_black_24dp.xml @@ -4,6 +4,6 @@ android:viewportHeight="24.0" android:viewportWidth="24.0"> diff --git a/app/src/main/res/drawable/icon_attendance_24dp.xml b/app/src/main/res/drawable/icon_attendance_24dp.xml index 548b10fa4..fcdf36b84 100644 --- a/app/src/main/res/drawable/icon_attendance_24dp.xml +++ b/app/src/main/res/drawable/icon_attendance_24dp.xml @@ -4,5 +4,5 @@ android:width="24dp" android:viewportWidth="24" android:viewportHeight="24"> - + \ No newline at end of file diff --git a/app/src/main/res/drawable/icon_lessonplan_24dp.xml b/app/src/main/res/drawable/icon_lessonplan_24dp.xml index 8cb39e96f..fa4870c84 100644 --- a/app/src/main/res/drawable/icon_lessonplan_24dp.xml +++ b/app/src/main/res/drawable/icon_lessonplan_24dp.xml @@ -4,5 +4,5 @@ android:width="24dp" android:viewportWidth="24" android:viewportHeight="24"> - + \ No newline at end of file diff --git a/app/src/main/res/drawable/icon_marks_26dp.xml b/app/src/main/res/drawable/icon_marks_26dp.xml index 5798a7139..8049ad94d 100644 --- a/app/src/main/res/drawable/icon_marks_26dp.xml +++ b/app/src/main/res/drawable/icon_marks_26dp.xml @@ -4,5 +4,5 @@ android:width="26dp" android:viewportWidth="26" android:viewportHeight="26"> - + \ No newline at end of file diff --git a/app/src/main/res/drawable/icon_other_24dp.xml b/app/src/main/res/drawable/icon_other_24dp.xml index babe59ab3..680f5abca 100644 --- a/app/src/main/res/drawable/icon_other_24dp.xml +++ b/app/src/main/res/drawable/icon_other_24dp.xml @@ -4,5 +4,5 @@ android:width="24dp" android:viewportWidth="24" android:viewportHeight="24"> - + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_dashboard.xml b/app/src/main/res/layout/activity_dashboard.xml index 61bf7f243..736c558c0 100644 --- a/app/src/main/res/layout/activity_dashboard.xml +++ b/app/src/main/res/layout/activity_dashboard.xml @@ -32,6 +32,8 @@ android:layout_height="wrap_content" android:layout_gravity="bottom" android:background="?android:attr/windowBackground" - app:menu="@menu/navigation" /> + app:menu="@menu/navigation" + app:itemIconTint="@color/bottomnavi_color" + app:itemTextColor="@color/bottomnavi_color"/>