From db6946fde17a1828e131b1829a6cc6bed7421f79 Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 28 May 2020 17:59:16 +0200 Subject: [PATCH] replacing some more widget related redundant xml tags --- app/src/main/res/layout/widget_date_time.xml | 21 +++++++++---------- .../res/layout/widget_date_time_pre_oreo.xml | 15 +++++++------ .../layout/widget_date_time_with_shadow.xml | 15 +++++++------ .../widget_date_time_with_shadow_pre_oreo.xml | 15 +++++++------ 4 files changed, 31 insertions(+), 35 deletions(-) diff --git a/app/src/main/res/layout/widget_date_time.xml b/app/src/main/res/layout/widget_date_time.xml index 6d5e9c43..abf143bb 100644 --- a/app/src/main/res/layout/widget_date_time.xml +++ b/app/src/main/res/layout/widget_date_time.xml @@ -1,14 +1,13 @@ - + android:paddingRight="@dimen/small_margin" + android:paddingBottom="@dimen/small_margin"> + tools:text="00:00" /> + tools:text="Mon, 1 January" /> + android:layout_alignBottom="@+id/widget_next_alarm" + android:src="@drawable/ic_alarm_vector" /> + tools:text="Tue, 18:30" /> diff --git a/app/src/main/res/layout/widget_date_time_pre_oreo.xml b/app/src/main/res/layout/widget_date_time_pre_oreo.xml index 7184f1f2..f67468b9 100644 --- a/app/src/main/res/layout/widget_date_time_pre_oreo.xml +++ b/app/src/main/res/layout/widget_date_time_pre_oreo.xml @@ -1,6 +1,5 @@ - + tools:text="00:00" /> + tools:text="Mon, 1 January" /> + android:src="@drawable/ic_alarm_vector" /> + tools:text="Tue, 18:30" /> diff --git a/app/src/main/res/layout/widget_date_time_with_shadow.xml b/app/src/main/res/layout/widget_date_time_with_shadow.xml index 032eae9b..3511432c 100644 --- a/app/src/main/res/layout/widget_date_time_with_shadow.xml +++ b/app/src/main/res/layout/widget_date_time_with_shadow.xml @@ -1,6 +1,5 @@ - + tools:text="00:00" /> + tools:text="Mon, 1 January" /> + android:src="@drawable/ic_alarm_vector" /> + tools:text="Tue, 18:30" /> diff --git a/app/src/main/res/layout/widget_date_time_with_shadow_pre_oreo.xml b/app/src/main/res/layout/widget_date_time_with_shadow_pre_oreo.xml index f2b8196d..c1ada64c 100644 --- a/app/src/main/res/layout/widget_date_time_with_shadow_pre_oreo.xml +++ b/app/src/main/res/layout/widget_date_time_with_shadow_pre_oreo.xml @@ -1,6 +1,5 @@ - + tools:text="00:00" /> + tools:text="Mon, 1 January" /> + android:src="@drawable/ic_alarm_vector" /> + tools:text="Tue, 18:30" />