Metro/app/src/main/res/layout/activity_restore.xml
Prathamesh More 1d77b3155a [Backup & Restore] Better Backup & Restore
Removed Playing Queue, Most Played, History, etc. from Backup. Better Backup & Restore for Playlists & Custom Artist Images.
2021-12-31 19:48:05 +05:30

77 lines
No EOL
3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/backupNameContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="8dp"
android:hint="@string/label_file_name">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/backupName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:enabled="false" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textview.MaterialTextView
android:id="@+id/materialTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/choose_restore_title" />
<com.google.android.material.checkbox.MaterialCheckBox
android:id="@+id/check_settings"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:minHeight="48dp"
android:text="@string/action_settings" />
<com.google.android.material.checkbox.MaterialCheckBox
android:id="@+id/check_databases"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="48dp"
android:text="@string/playlists" />
<com.google.android.material.checkbox.MaterialCheckBox
android:id="@+id/check_user_images"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="48dp"
android:text="@string/user_images_description" />
<com.google.android.material.checkbox.MaterialCheckBox
android:id="@+id/check_artist_images"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="48dp"
android:text="@string/custom_artist_images" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="end">
<com.google.android.material.button.MaterialButton
android:id="@+id/cancel_button"
style="@style/Widget.Material3.Button.OutlinedButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:text="@string/action_cancel" />
<com.google.android.material.button.MaterialButton
android:id="@+id/restore_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:text="@string/restore" />
</LinearLayout>
</LinearLayout>