From 2153781141de6036d6f12ce081e738082daeeb9a Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 20 Jan 2019 18:58:09 +0000 Subject: [PATCH] FABs and "black icons" use the accent color --- .../res/drawable/ic_assignment_black_24dp.xml | 19 +++++++++++- .../res/drawable/ic_event_note_black_24dp.xml | 19 +++++++++++- .../main/res/drawable/ic_home_black_24dp.xml | 19 +++++++++++- .../res/drawable/ic_settings_black_24dp.xml | 19 +++++++++++- .../res/drawable/ic_view_list_black_24dp.xml | 30 ++++++++++++++++--- app/src/main/res/layout/activity_main.xml | 2 +- .../res/layout/activity_profile_detail.xml | 1 + app/src/main/res/values/colors.xml | 2 +- 8 files changed, 101 insertions(+), 10 deletions(-) diff --git a/app/src/main/res/drawable/ic_assignment_black_24dp.xml b/app/src/main/res/drawable/ic_assignment_black_24dp.xml index a18d75eb..af8b8088 100644 --- a/app/src/main/res/drawable/ic_assignment_black_24dp.xml +++ b/app/src/main/res/drawable/ic_assignment_black_24dp.xml @@ -1,3 +1,20 @@ + + + + + + - - + + diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index de2857eb..7f01a1be 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -52,7 +52,7 @@ android:layout_gravity="bottom|end" android:layout_margin="@dimen/fab_margin" android:onClick="fabNewTransactionClicked" - app:backgroundTint="@color/colorPrimary" + app:backgroundTint="@color/colorAccent" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:srcCompat="@drawable/svg_thick_plus_white" /> diff --git a/app/src/main/res/layout/activity_profile_detail.xml b/app/src/main/res/layout/activity_profile_detail.xml index 321c4d0d..3277b826 100644 --- a/app/src/main/res/layout/activity_profile_detail.xml +++ b/app/src/main/res/layout/activity_profile_detail.xml @@ -64,6 +64,7 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical|start" android:layout_margin="@dimen/fab_margin" + app:backgroundTint="@color/colorAccent" app:layout_anchor="@+id/profile_detail_container" app:layout_anchorGravity="top|end" app:srcCompat="@drawable/ic_save_white_24dp" /> diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 6eb9f434..76067ad5 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -19,7 +19,7 @@ #935FF2 #3e148c - #724db6 + #653BD0 #ffffffff #286c33d4 #28ddcbff -- 2.39.5