From 940c057386c5c9b39404d58a97d98c63182e58ff Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Fri, 15 May 2020 11:16:04 +0300 Subject: [PATCH] use a fixed app background, helps the fading gradient used in the case of multiple (4+) currencies for a given account in the account summary --- .../main/res/drawable-anydpi-v21/fade_down_white.xml | 4 ++-- app/src/main/res/layout/account_summary_row.xml | 12 ++++++------ app/src/main/res/layout/main_app_layout.xml | 1 + app/src/main/res/values/colors.xml | 2 ++ 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/app/src/main/res/drawable-anydpi-v21/fade_down_white.xml b/app/src/main/res/drawable-anydpi-v21/fade_down_white.xml index 63add291..7b541263 100644 --- a/app/src/main/res/drawable-anydpi-v21/fade_down_white.xml +++ b/app/src/main/res/drawable-anydpi-v21/fade_down_white.xml @@ -17,8 +17,8 @@ \ No newline at end of file diff --git a/app/src/main/res/layout/account_summary_row.xml b/app/src/main/res/layout/account_summary_row.xml index ca88fe86..addf2a2a 100644 --- a/app/src/main/res/layout/account_summary_row.xml +++ b/app/src/main/res/layout/account_summary_row.xml @@ -101,18 +101,18 @@ - - - - - + + + + + diff --git a/app/src/main/res/layout/main_app_layout.xml b/app/src/main/res/layout/main_app_layout.xml index 86e91870..4b778d64 100644 --- a/app/src/main/res/layout/main_app_layout.xml +++ b/app/src/main/res/layout/main_app_layout.xml @@ -21,6 +21,7 @@ android:id="@+id/main_app_layout" android:layout_width="match_parent" android:layout_height="match_parent" + android:background="@color/backgroundColor" android:orientation="vertical" android:theme="@style/AppTheme.AppBarOverlay" tools:context=".ui.activity.MainActivity"> diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 3bbc35c1..72b93528 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -26,4 +26,6 @@ #804a148c #FFE1E2 #CD1609 + #EEEEEE + #00eeeeee -- 2.39.5