From 96ed8539d3d240c0f979f40f624bd7e08bd58dd3 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Mon, 29 Jul 2019 16:46:47 -0500 Subject: [PATCH] Black theme uses black background and window --- app/src/main/res/layout-v21/task_adapter_row_simple.xml | 5 +++++ app/src/main/res/layout/task_adapter_row_simple.xml | 3 ++- app/src/main/res/values/attrs.xml | 1 + app/src/main/res/values/theme.xml | 4 +++- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout-v21/task_adapter_row_simple.xml b/app/src/main/res/layout-v21/task_adapter_row_simple.xml index 10de9600c..4c43c30bd 100644 --- a/app/src/main/res/layout-v21/task_adapter_row_simple.xml +++ b/app/src/main/res/layout-v21/task_adapter_row_simple.xml @@ -16,4 +16,9 @@ + + diff --git a/app/src/main/res/layout/task_adapter_row_simple.xml b/app/src/main/res/layout/task_adapter_row_simple.xml index afb2423c3..489d4e3b7 100644 --- a/app/src/main/res/layout/task_adapter_row_simple.xml +++ b/app/src/main/res/layout/task_adapter_row_simple.xml @@ -3,7 +3,8 @@ android:id="@+id/row" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:orientation="vertical"> + android:orientation="vertical" + android:background="?android:colorBackground"> diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index 38d32fe3b..e98b1dd7a 100644 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -15,6 +15,7 @@ + diff --git a/app/src/main/res/values/theme.xml b/app/src/main/res/values/theme.xml index 2788d0c5a..2372d2998 100644 --- a/app/src/main/res/values/theme.xml +++ b/app/src/main/res/values/theme.xml @@ -29,6 +29,7 @@ @color/mtrl_btn_stroke_color_selector ?attr/colorPrimary ?attr/colorOnPrimary + 2