|
@ -37,6 +37,7 @@ |
|
|
android:id="@+id/tvAccountDone" |
|
|
android:id="@+id/tvAccountDone" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:drawableStart="@drawable/baseline_check_24" |
|
|
android:text="@string/title_setup_done" |
|
|
android:text="@string/title_setup_done" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" |
|
|
android:textColor="?android:attr/textColorPrimary" |
|
|
android:textColor="?android:attr/textColorPrimary" |
|
@ -44,17 +45,26 @@ |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintTop_toBottomOf="@id/tvAccount" /> |
|
|
app:layout_constraintTop_toBottomOf="@id/tvAccount" /> |
|
|
|
|
|
|
|
|
|
|
|
<View |
|
|
|
|
|
android:id="@+id/vSeparatorAccount" |
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
android:layout_height="1dp" |
|
|
|
|
|
android:layout_marginTop="9dp" |
|
|
|
|
|
android:background="?attr/colorSeparator" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvAccountDone" /> |
|
|
|
|
|
|
|
|
<!-- identity --> |
|
|
<!-- identity --> |
|
|
|
|
|
|
|
|
<Button |
|
|
<Button |
|
|
android:id="@+id/btnIdentity" |
|
|
android:id="@+id/btnIdentity" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_marginTop="18dp" |
|
|
|
|
|
|
|
|
android:layout_marginTop="9dp" |
|
|
android:text="@string/title_setup_identity" |
|
|
android:text="@string/title_setup_identity" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintTop_toBottomOf="@id/tvAccountDone" /> |
|
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorAccount" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/tvIdentity" |
|
|
android:id="@+id/tvIdentity" |
|
@ -70,6 +80,7 @@ |
|
|
android:id="@+id/tvIdentityDone" |
|
|
android:id="@+id/tvIdentityDone" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:drawableStart="@drawable/baseline_check_24" |
|
|
android:text="@string/title_setup_done" |
|
|
android:text="@string/title_setup_done" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" |
|
|
android:textColor="?android:attr/textColorPrimary" |
|
|
android:textColor="?android:attr/textColorPrimary" |
|
@ -77,17 +88,26 @@ |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintTop_toBottomOf="@id/tvIdentity" /> |
|
|
app:layout_constraintTop_toBottomOf="@id/tvIdentity" /> |
|
|
|
|
|
|
|
|
|
|
|
<View |
|
|
|
|
|
android:id="@+id/vSeparatorIdentity" |
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
android:layout_height="1dp" |
|
|
|
|
|
android:layout_marginTop="9dp" |
|
|
|
|
|
android:background="?attr/colorSeparator" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvIdentityDone" /> |
|
|
|
|
|
|
|
|
<!-- permissions --> |
|
|
<!-- permissions --> |
|
|
|
|
|
|
|
|
<Button |
|
|
<Button |
|
|
android:id="@+id/btnPermissions" |
|
|
android:id="@+id/btnPermissions" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_marginTop="18dp" |
|
|
|
|
|
|
|
|
android:layout_marginTop="9dp" |
|
|
android:text="@string/title_setup_permissions" |
|
|
android:text="@string/title_setup_permissions" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintTop_toBottomOf="@id/tvIdentityDone" /> |
|
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorIdentity" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/tvPermissions" |
|
|
android:id="@+id/tvPermissions" |
|
@ -103,24 +123,34 @@ |
|
|
android:id="@+id/tvPermissionsDone" |
|
|
android:id="@+id/tvPermissionsDone" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:text="@string/title_setup_to_do" |
|
|
|
|
|
|
|
|
android:drawableStart="@drawable/baseline_check_24" |
|
|
|
|
|
android:text="@string/title_setup_done" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" |
|
|
android:textColor="?android:attr/textColorPrimary" |
|
|
android:textColor="?android:attr/textColorPrimary" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintTop_toBottomOf="@id/tvPermissions" /> |
|
|
app:layout_constraintTop_toBottomOf="@id/tvPermissions" /> |
|
|
|
|
|
|
|
|
|
|
|
<View |
|
|
|
|
|
android:id="@+id/vSeparatorPermissions" |
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
android:layout_height="1dp" |
|
|
|
|
|
android:layout_marginTop="9dp" |
|
|
|
|
|
android:background="?attr/colorSeparator" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvPermissionsDone" /> |
|
|
|
|
|
|
|
|
<!-- doze --> |
|
|
<!-- doze --> |
|
|
|
|
|
|
|
|
<Button |
|
|
<Button |
|
|
android:id="@+id/btnDoze" |
|
|
android:id="@+id/btnDoze" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_marginTop="18dp" |
|
|
|
|
|
|
|
|
android:layout_marginTop="9dp" |
|
|
android:text="@string/title_setup_doze" |
|
|
android:text="@string/title_setup_doze" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintTop_toBottomOf="@id/tvPermissionsDone" /> |
|
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorPermissions" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:id="@+id/tvDoze" |
|
|
android:id="@+id/tvDoze" |
|
@ -136,13 +166,23 @@ |
|
|
android:id="@+id/tvDozeDone" |
|
|
android:id="@+id/tvDozeDone" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:text="@string/title_setup_to_do" |
|
|
|
|
|
|
|
|
android:drawableStart="@drawable/baseline_check_24" |
|
|
|
|
|
android:text="@string/title_setup_done" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" |
|
|
android:textColor="?android:attr/textColorPrimary" |
|
|
android:textColor="?android:attr/textColorPrimary" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintTop_toBottomOf="@id/tvDoze" /> |
|
|
app:layout_constraintTop_toBottomOf="@id/tvDoze" /> |
|
|
|
|
|
|
|
|
|
|
|
<View |
|
|
|
|
|
android:id="@+id/vSeparatorDoze" |
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
android:layout_height="1dp" |
|
|
|
|
|
android:layout_marginTop="9dp" |
|
|
|
|
|
android:background="?attr/colorSeparator" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvDozeDone" /> |
|
|
|
|
|
|
|
|
<!-- data saver --> |
|
|
<!-- data saver --> |
|
|
|
|
|
|
|
|
<Button |
|
|
<Button |
|
@ -150,20 +190,21 @@ |
|
|
style="?android:attr/buttonStyleSmall" |
|
|
style="?android:attr/buttonStyleSmall" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_marginTop="18dp" |
|
|
|
|
|
|
|
|
android:layout_marginTop="9dp" |
|
|
android:minHeight="0dp" |
|
|
android:minHeight="0dp" |
|
|
android:minWidth="0dp" |
|
|
android:minWidth="0dp" |
|
|
android:text="@string/title_setup_data" |
|
|
android:text="@string/title_setup_data" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintTop_toBottomOf="@id/tvDozeDone" /> |
|
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorDoze" /> |
|
|
|
|
|
|
|
|
<CheckBox |
|
|
|
|
|
android:id="@+id/cbDarkTheme" |
|
|
|
|
|
|
|
|
<ToggleButton |
|
|
|
|
|
android:id="@+id/tbDarkTheme" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_marginTop="18dp" |
|
|
android:layout_marginTop="18dp" |
|
|
android:text="@string/title_setup_dark_theme" |
|
|
|
|
|
|
|
|
android:textOff="@string/title_setup_dark_theme" |
|
|
|
|
|
android:textOn="@string/title_setup_light_theme" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintTop_toBottomOf="@id/btnData" /> |
|
|
app:layout_constraintTop_toBottomOf="@id/btnData" /> |
|
@ -179,6 +220,6 @@ |
|
|
android:text="@string/title_advanced" |
|
|
android:text="@string/title_advanced" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
app:layout_constraintTop_toBottomOf="@id/cbDarkTheme" /> |
|
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tbDarkTheme" /> |
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |
|
|
</ScrollView> |
|
|
</ScrollView> |