2019-09-13 11:40:32 -03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/imageView"
|
|
|
|
|
android:layout_width="32dp"
|
|
|
|
|
android:layout_height="32dp"
|
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
|
android:tint="?android:colorAccent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:srcCompat="@drawable/ic_storage"
|
|
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/titleView"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/imageView"
|
|
|
|
|
tools:text="@string/storage_check_fragment_backup_title" />
|
|
|
|
|
|
2021-04-20 11:29:16 -03:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/patienceView"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
|
android:text="@string/storage_check_fragment_patience"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/titleView" />
|
|
|
|
|
|
2019-09-13 11:40:32 -03:00
|
|
|
<ProgressBar
|
|
|
|
|
android:id="@+id/progressBar"
|
|
|
|
|
style="?android:progressBarStyleLarge"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:layout_marginTop="32dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
2021-04-20 11:29:16 -03:00
|
|
|
app:layout_constraintBottom_toTopOf="@+id/backButton"
|
2019-09-13 11:40:32 -03:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2021-04-20 11:29:16 -03:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/patienceView"
|
2019-09-13 11:40:32 -03:00
|
|
|
app:layout_constraintVertical_bias="0.0" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/errorView"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:layout_marginTop="32dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
2021-04-18 02:23:05 +05:30
|
|
|
android:textColor="?android:colorError"
|
2019-09-13 11:40:32 -03:00
|
|
|
android:textSize="18sp"
|
|
|
|
|
android:visibility="invisible"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2021-04-20 11:29:16 -03:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/patienceView"
|
2019-09-13 11:40:32 -03:00
|
|
|
app:layout_constraintVertical_bias="0.0"
|
|
|
|
|
tools:text="@string/storage_check_fragment_backup_error"
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/backButton"
|
2021-04-18 02:23:05 +05:30
|
|
|
style="@style/ActionPrimaryButton"
|
2019-09-13 11:40:32 -03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
|
android:text="@string/storage_check_fragment_error_button"
|
|
|
|
|
android:visibility="invisible"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|