From 45bdac39d22a9a1a36e4663b31b096095529e55c Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 19 Jun 2019 17:24:48 +0200 Subject: [PATCH] Improved widget layout --- app/src/main/res/drawable/widget_background.xml | 10 ++++++++++ app/src/main/res/layout/widget.xml | 2 +- app/src/main/res/values/colors.xml | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 app/src/main/res/drawable/widget_background.xml diff --git a/app/src/main/res/drawable/widget_background.xml b/app/src/main/res/drawable/widget_background.xml new file mode 100644 index 0000000000..3328742c5a --- /dev/null +++ b/app/src/main/res/drawable/widget_background.xml @@ -0,0 +1,10 @@ + + + + + + diff --git a/app/src/main/res/layout/widget.xml b/app/src/main/res/layout/widget.xml index 85e3f695b7..9b497bdacc 100644 --- a/app/src/main/res/layout/widget.xml +++ b/app/src/main/res/layout/widget.xml @@ -3,7 +3,7 @@ android:id="@+id/widget" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/colorWidgetBackground" + android:background="@drawable/widget_background" android:orientation="vertical" android:padding="6dp"> diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 0385279906..2e09ef9f47 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -12,7 +12,7 @@ #ccc #fff - #3f000000 + #7f000000 #000 #ccc