2020-04-12 12:00:14 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-04-28 21:26:27 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="wrap_content"
|
2020-04-12 20:09:17 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2020-04-12 12:00:14 +00:00
|
|
|
app:cardCornerRadius="8dp"
|
2020-04-28 21:26:27 +00:00
|
|
|
app:contentPaddingRight="6dp"
|
|
|
|
app:contentPaddingLeft="6dp"
|
|
|
|
app:cardElevation="0dp"
|
2020-04-12 12:00:14 +00:00
|
|
|
tools:context=".ui.fragments.UpdateCheckFragment">
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/update_center_text"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-04-28 21:26:27 +00:00
|
|
|
android:text="@string/update_center"
|
2020-04-12 12:00:14 +00:00
|
|
|
android:textAlignment="center"
|
|
|
|
android:textSize="18sp"
|
|
|
|
android:fontFamily="@font/exo_semibold"
|
2020-04-28 21:26:27 +00:00
|
|
|
android:textColor="?attr/colorOnSurfaceVariant"
|
2020-04-12 12:00:14 +00:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"/>
|
|
|
|
|
2020-04-28 21:26:27 +00:00
|
|
|
<ProgressBar
|
2020-04-12 12:00:14 +00:00
|
|
|
android:id="@+id/update_center_progressbar"
|
2020-04-28 21:26:27 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2020-04-12 12:00:14 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-04-12 20:09:17 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/update_center_text"
|
2020-04-28 21:26:27 +00:00
|
|
|
app:layout_constraintBottom_toTopOf="@id/update_button_container"/>
|
2020-04-12 12:00:14 +00:00
|
|
|
|
2020-04-28 21:26:27 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/update_button_container"
|
|
|
|
android:layout_width="match_parent"
|
2020-04-12 12:00:14 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/update_center_progressbar"
|
2020-04-28 21:26:27 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2020-04-12 12:00:14 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2020-04-28 21:26:27 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent">
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/update_center_dismiss"
|
|
|
|
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="4dp"
|
|
|
|
android:text="@string/close"
|
|
|
|
android:textAllCaps="false"/>
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/update_center_recheck"
|
|
|
|
style="@style/Widget.MaterialComponents.Button.UnelevatedButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
android:text="@string/re_check"
|
|
|
|
android:textAllCaps="false"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2020-04-12 12:00:14 +00:00
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|