From 96a236803e9e8e90c79de1ac76958de7b028214f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Mon, 12 Nov 2018 16:29:43 +0100 Subject: [PATCH] simplify settings layout --- .../src/main/res/layout/fragment_settings.xml | 397 ++++++------------ 1 file changed, 131 insertions(+), 266 deletions(-) diff --git a/android/app/src/main/res/layout/fragment_settings.xml b/android/app/src/main/res/layout/fragment_settings.xml index 289cc75..adbca25 100644 --- a/android/app/src/main/res/layout/fragment_settings.xml +++ b/android/app/src/main/res/layout/fragment_settings.xml @@ -4,7 +4,6 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" - tools:ignore="TooManyViews" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".view.SettingsFragment"> @@ -33,23 +32,14 @@ android:layout_width="match_parent" android:layout_height="wrap_content" /> - - - - - + android:minHeight="48dp" /> - - - - - + android:layout_height="wrap_content"/> - + android:minHeight="48dp" + android:gravity="center"> - + android:text="@string/str_notificationsound" + android:textColor="#000" /> - + - - - - + - - - - - + android:layout_marginStart="4dp" + android:layout_marginEnd="4dp" + android:minHeight="48dp" /> - - - - - + android:layout_marginStart="4dp" + android:layout_marginEnd="4dp" + android:minHeight="48dp" /> - + android:layout_marginStart="4dp" + android:layout_marginEnd="4dp" + android:minHeight="48dp" /> - - - @@ -350,23 +299,14 @@ android:layout_width="match_parent" android:layout_height="wrap_content" /> - - - - - + android:layout_marginStart="4dp" + android:layout_marginEnd="4dp" + android:minHeight="48dp" /> - + android:minHeight="48dp" + android:gravity="center"> - + android:text="@string/str_notificationsound" + android:textColor="#000" /> - - - - - - + + - - - - - + android:layout_marginStart="4dp" + android:layout_marginEnd="4dp" + android:minHeight="48dp" /> - - - - - + android:layout_marginStart="4dp" + android:layout_marginEnd="4dp" + android:minHeight="48dp" /> - - - - - + android:layout_marginStart="4dp" + android:layout_marginEnd="4dp" + android:minHeight="48dp" /> @@ -548,23 +454,14 @@ android:layout_width="match_parent" android:layout_height="wrap_content" /> - - - - - + android:layout_marginStart="4dp" + android:layout_marginEnd="4dp" + android:minHeight="48dp" /> - + android:minHeight="48dp" + android:orientation="vertical" + android:gravity="center" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintTop_toTopOf="parent"> - + android:text="@string/str_notificationsound" + android:textColor="#000" /> - - - - - - + + - - - - - + android:layout_marginStart="4dp" + android:layout_marginEnd="4dp" + android:minHeight="48dp" /> - - - - - + android:layout_marginStart="4dp" + android:layout_marginEnd="4dp" + android:minHeight="48dp" /> - - - - - + android:layout_marginStart="4dp" + android:layout_marginEnd="4dp" + android:minHeight="48dp" />