From e4cb13b9ec0c7c0d81301388058d97aad608c137 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 10 Oct 2018 08:36:13 +0000 Subject: [PATCH] Revert "Hide battery optimization setup" This reverts commit 7a55f8b8ed71e543068569a1e8d3264ba0ca1edf. --- app/src/main/res/layout/fragment_setup.xml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/fragment_setup.xml b/app/src/main/res/layout/fragment_setup.xml index 46da0cd86c..3820b5adc5 100644 --- a/app/src/main/res/layout/fragment_setup.xml +++ b/app/src/main/res/layout/fragment_setup.xml @@ -157,7 +157,6 @@ android:layout_height="wrap_content" android:layout_marginTop="9dp" android:text="@string/title_setup_doze" - android:visibility="gone" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/vSeparatorPermissions" /> @@ -168,7 +167,6 @@ android:layout_height="wrap_content" android:text="@string/title_setup_doze_remark" android:textAppearance="@style/TextAppearance.AppCompat.Small" - android:visibility="gone" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/btnDoze" /> @@ -181,7 +179,6 @@ android:text="@string/title_setup_done" android:textAppearance="@style/TextAppearance.AppCompat.Medium" android:textColor="?android:attr/textColorPrimary" - android:visibility="gone" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/tvDoze" /> @@ -192,7 +189,6 @@ android:layout_height="1dp" android:layout_marginTop="9dp" android:background="?attr/colorSeparator" - android:visibility="gone" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/tvDozeDone" /> @@ -204,8 +200,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="9dp" - android:minWidth="0dp" android:minHeight="0dp" + android:minWidth="0dp" android:text="@string/title_setup_data" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -228,8 +224,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="18dp" - android:minWidth="0dp" android:minHeight="0dp" + android:minWidth="0dp" android:text="@string/title_advanced" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent"