From c3428b6d82f9d1451cb438e060a3721cbbd32a62 Mon Sep 17 00:00:00 2001 From: Suphon Thanakornpakapong Date: Mon, 11 Apr 2022 16:13:18 +0700 Subject: [PATCH] Remove dark stripe from weather widget title --- app/src/main/res/drawable/item_widget_round_corner.xml | 6 ++++++ app/src/main/res/layout/layout_weather_info.xml | 9 ++++----- 2 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 app/src/main/res/drawable/item_widget_round_corner.xml diff --git a/app/src/main/res/drawable/item_widget_round_corner.xml b/app/src/main/res/drawable/item_widget_round_corner.xml new file mode 100644 index 0000000000..ff36e70083 --- /dev/null +++ b/app/src/main/res/drawable/item_widget_round_corner.xml @@ -0,0 +1,6 @@ + + + + + diff --git a/app/src/main/res/layout/layout_weather_info.xml b/app/src/main/res/layout/layout_weather_info.xml index afb603c94f..a1ff20a486 100644 --- a/app/src/main/res/layout/layout_weather_info.xml +++ b/app/src/main/res/layout/layout_weather_info.xml @@ -6,12 +6,12 @@ android:layout_marginBottom="8dp" android:clipChildren="true" android:clipToPadding="true" - android:orientation="vertical"> + android:orientation="vertical" + android:background="@drawable/item_widget_round_corner"> + android:layout_height="wrap_content"> + android:layout_height="match_parent">