|
|
|
@ -706,47 +706,11 @@
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvDoze" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
android:id="@+id/tvDozeHint"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:text="@string/title_setup_doze_hint"
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/btnDoze" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
android:id="@+id/tvDoze12"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:drawableStart="@drawable/twotone_warning_24"
|
|
|
|
|
android:drawablePadding="6dp"
|
|
|
|
|
android:drawableTint="?attr/colorWarning"
|
|
|
|
|
android:text="@string/title_setup_doze_12"
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
|
android:textColor="?attr/colorWarning"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvDozeHint" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedImageButton
|
|
|
|
|
android:id="@+id/ibDoze"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:contentDescription="@string/title_info"
|
|
|
|
|
android:tooltipText="@string/title_info"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvDoze12"
|
|
|
|
|
app:srcCompat="@drawable/twotone_info_24" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
android:id="@+id/tvInexactAlarmsWarning"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:drawableStart="@drawable/twotone_warning_24"
|
|
|
|
|
android:drawablePadding="6dp"
|
|
|
|
|
android:drawableTint="?attr/colorWarning"
|
|
|
|
@ -755,32 +719,28 @@
|
|
|
|
|
android:textColor="?attr/colorWarning"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/ibDoze" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/btnDoze" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
android:id="@+id/tvInexactAlarms"
|
|
|
|
|
android:id="@+id/tvDozeHint"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:text="@string/title_setup_inexact"
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
|
android:textColor="?attr/colorWarning"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:text="@string/title_setup_doze_hint"
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvInexactAlarmsWarning" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvDoze12" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btnInexactAlarms"
|
|
|
|
|
style="?android:attr/buttonStyleSmall"
|
|
|
|
|
<eu.faircode.email.FixedImageButton
|
|
|
|
|
android:id="@+id/ibDoze"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:drawableEnd="@drawable/twotone_settings_24"
|
|
|
|
|
android:drawablePadding="6dp"
|
|
|
|
|
android:text="@string/title_setup_manage"
|
|
|
|
|
android:contentDescription="@string/title_info"
|
|
|
|
|
android:tooltipText="@string/title_info"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvInexactAlarms" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvDozeHint"
|
|
|
|
|
app:srcCompat="@drawable/twotone_info_24" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
android:id="@+id/tvBackgroundRestricted"
|
|
|
|
@ -795,7 +755,7 @@
|
|
|
|
|
android:textColor="?attr/colorWarning"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/btnInexactAlarms" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/ibDoze" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btnBackgroundRestricted"
|
|
|
|
@ -881,12 +841,6 @@
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvBatteryUsage" />
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
|
android:id="@+id/grpInexactAlarms"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
app:constraint_referenced_ids="tvInexactAlarms,tvInexactAlarmsWarning,btnInexactAlarms" />
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
|
android:id="@+id/grpBackgroundRestricted"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|