From 7c268ea5247e0534e478920dbac0035a788f96e1 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 18 Mar 2020 21:09:16 +0100 Subject: [PATCH] Simplification --- app/src/main/res/layout/dialog_duration.xml | 6 ----- .../res/layout/dialog_error_reporting.xml | 2 -- app/src/main/res/layout/dialog_first.xml | 2 -- app/src/main/res/layout/dialog_junk.xml | 2 -- app/src/main/res/layout/dialog_open_link.xml | 4 +--- .../main/res/layout/dialog_review_account.xml | 4 +--- app/src/main/res/layout/dialog_rule_match.xml | 2 -- app/src/main/res/layout/fragment_account.xml | 20 ++++------------ app/src/main/res/layout/fragment_accounts.xml | 4 +--- app/src/main/res/layout/fragment_folder.xml | 6 +---- app/src/main/res/layout/fragment_identity.xml | 24 +++++-------------- .../layout/fragment_options_connection.xml | 4 ---- .../res/layout/fragment_options_display.xml | 2 -- .../layout/fragment_options_encryption.xml | 6 ----- .../main/res/layout/fragment_options_misc.xml | 20 ++++++++++------ .../layout/fragment_options_notifications.xml | 8 ------- .../res/layout/fragment_options_privacy.xml | 4 ---- .../main/res/layout/fragment_options_send.xml | 2 -- app/src/main/res/layout/fragment_pop.xml | 4 +--- app/src/main/res/layout/fragment_pro.xml | 2 -- app/src/main/res/layout/fragment_rule.xml | 4 +--- app/src/main/res/layout/fragment_setup.xml | 4 ---- .../layout/include_message_attachments.xml | 4 ---- .../res/layout/include_message_calendar.xml | 6 ----- app/src/main/res/layout/item_account.xml | 2 -- app/src/main/res/layout/item_folder.xml | 2 -- app/src/main/res/layout/item_keyword.xml | 4 +--- 27 files changed, 31 insertions(+), 123 deletions(-) diff --git a/app/src/main/res/layout/dialog_duration.xml b/app/src/main/res/layout/dialog_duration.xml index 807853499d..429f748fae 100644 --- a/app/src/main/res/layout/dialog_duration.xml +++ b/app/src/main/res/layout/dialog_duration.xml @@ -27,8 +27,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="12dp" - android:minWidth="0dp" - android:minHeight="0dp" android:text="@string/title_1hour" app:layout_constraintEnd_toStartOf="@+id/btn1day" app:layout_constraintStart_toStartOf="parent" @@ -40,8 +38,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="12dp" - android:minWidth="0dp" - android:minHeight="0dp" android:text="@string/title_1day" app:layout_constraintEnd_toStartOf="@+id/btn1week" app:layout_constraintStart_toEndOf="@id/btn1hour" @@ -53,8 +49,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="12dp" - android:minWidth="0dp" - android:minHeight="0dp" android:text="@string/title_1week" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/btn1day" diff --git a/app/src/main/res/layout/dialog_error_reporting.xml b/app/src/main/res/layout/dialog_error_reporting.xml index dea5535444..7a22a99a38 100644 --- a/app/src/main/res/layout/dialog_error_reporting.xml +++ b/app/src/main/res/layout/dialog_error_reporting.xml @@ -37,8 +37,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="12dp" - android:minWidth="0dp" - android:minHeight="0dp" android:text="@string/title_info" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/tvExplanation" /> diff --git a/app/src/main/res/layout/dialog_first.xml b/app/src/main/res/layout/dialog_first.xml index 6129d77f9f..d9d33fe341 100644 --- a/app/src/main/res/layout/dialog_first.xml +++ b/app/src/main/res/layout/dialog_first.xml @@ -48,8 +48,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="12dp" - android:minWidth="0dp" - android:minHeight="0dp" android:text="@string/title_info" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toBottomOf="@id/tvBattery" /> diff --git a/app/src/main/res/layout/dialog_junk.xml b/app/src/main/res/layout/dialog_junk.xml index 9b6aac0619..42fe81770b 100644 --- a/app/src/main/res/layout/dialog_junk.xml +++ b/app/src/main/res/layout/dialog_junk.xml @@ -57,8 +57,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="12dp" - android:minWidth="0dp" - android:minHeight="0dp" android:text="@string/title_edit_rules" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/tvBlockHint" /> diff --git a/app/src/main/res/layout/dialog_open_link.xml b/app/src/main/res/layout/dialog_open_link.xml index 0e48db6b66..0345c75ebf 100644 --- a/app/src/main/res/layout/dialog_open_link.xml +++ b/app/src/main/res/layout/dialog_open_link.xml @@ -100,12 +100,10 @@