2020-10-15 16:12:53 -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"
|
2023-07-17 11:39:42 -04:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-10-15 16:12:53 -03:00
|
|
|
android:layout_width="match_parent"
|
2023-07-17 11:39:42 -04:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:viewBindingIgnore="true">
|
2020-10-15 16:12:53 -03:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/choose_backup_fragment_title"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="32dp"
|
|
|
|
android:layout_marginTop="64dp"
|
|
|
|
android:layout_marginEnd="32dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/ChooseBackupFragment__restore_from_backup"
|
2022-05-26 17:32:52 -03:00
|
|
|
android:textAppearance="@style/Signal.Text.HeadlineMedium"
|
2020-10-15 16:12:53 -03:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/choose_backup_fragment_message"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="32dp"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_marginEnd="32dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/ChooseBackupFragment__restore_your_messages_and_media"
|
|
|
|
android:textAppearance="@style/Signal.Text.Body"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/choose_backup_fragment_title" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/choose_backup_fragment_learn_more"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/ChooseBackupFragment__learn_more"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/choose_backup_fragment_message" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/choose_backup_fragment_icon"
|
2023-07-17 11:39:42 -04:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2020-10-15 16:12:53 -03:00
|
|
|
android:background="@drawable/circle_tintable"
|
|
|
|
android:contentDescription="@string/ChooseBackupFragment__icon_content_description"
|
|
|
|
android:padding="30dp"
|
2023-02-03 14:53:27 -05:00
|
|
|
app:backgroundTint="@color/signal_colorSurfaceVariant"
|
2023-07-17 11:39:42 -04:00
|
|
|
app:layout_constraintBottom_toTopOf="@+id/choose_backup_fragment_button"
|
|
|
|
app:layout_constraintDimensionRatio="H,1:1"
|
2020-10-15 16:12:53 -03:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2023-07-17 11:39:42 -04:00
|
|
|
app:layout_constraintHeight_max="120dp"
|
|
|
|
app:layout_constraintHorizontal_bias="0.498"
|
2020-10-15 16:12:53 -03:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2023-07-17 11:39:42 -04:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/choose_backup_fragment_learn_more"
|
|
|
|
app:layout_constraintWidth_max="120dp"
|
2023-02-03 14:53:27 -05:00
|
|
|
app:srcCompat="@drawable/ic_backup_outline_60"
|
2023-07-17 11:39:42 -04:00
|
|
|
app:tint="@color/signal_colorPrimary" />
|
2020-10-15 16:12:53 -03:00
|
|
|
|
2022-05-26 17:32:52 -03:00
|
|
|
<org.thoughtcrime.securesms.util.views.CircularProgressMaterialButton
|
2020-10-15 16:12:53 -03:00
|
|
|
android:id="@+id/choose_backup_fragment_button"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="32dp"
|
|
|
|
android:layout_marginEnd="32dp"
|
|
|
|
android:layout_marginBottom="32dp"
|
2022-05-26 17:32:52 -03:00
|
|
|
app:circularProgressMaterialButton__label="@string/ChooseBackupFragment__choose_backup"
|
2020-10-15 16:12:53 -03:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2023-07-17 11:39:42 -04:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:materialThemeOverlay="@style/ThemeOverlay.Signal.CircularProgressIndicator.Primary" />
|
2020-10-15 16:12:53 -03:00
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|