From 66ea357f08425ec8029ab27d4532820dc44a3648 Mon Sep 17 00:00:00 2001 From: Alexander Bakker Date: Mon, 14 May 2018 21:39:44 +0200 Subject: [PATCH] Fix the style of BottomSheetDialog in dark mode Close #12 --- app/src/main/res/layout/bottom_sheet_edit_profile.xml | 6 +++--- app/src/main/res/values/styles.xml | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/bottom_sheet_edit_profile.xml b/app/src/main/res/layout/bottom_sheet_edit_profile.xml index 8da8a8e4..3ea82486 100644 --- a/app/src/main/res/layout/bottom_sheet_edit_profile.xml +++ b/app/src/main/res/layout/bottom_sheet_edit_profile.xml @@ -18,7 +18,7 @@ android:layout_height="wrap_content" android:layout_marginEnd="16dp" android:src="@drawable/ic_content_copy_black_24dp" - android:tint="@color/icon_primary"/> + android:tint="?attr/iconColorPrimary"/> + android:tint="?attr/iconColorPrimary"/> + android:tint="?attr/iconColorPrimary"/> @color/colorAccent @color/background 0dp + @style/Theme.Design.Light.BottomSheetDialog @color/icon_primary @color/icon_primary_inverted @@ -59,6 +60,7 @@ @color/colorAccent @color/background_dark 0dp + @style/Theme.Design.BottomSheetDialog @color/icon_primary_dark @color/icon_primary_dark_inverted