0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-14 23:05:06 +00:00
VancedManager/app/src/main/res/layout/fragment_update_check.xml

58 lines
2.5 KiB
XML
Raw Normal View History

<?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"
android:layout_width="match_parent"
2020-04-12 20:09:17 +00:00
android:layout_height="wrap_content"
android:layout_gravity="center"
xmlns:app="http://schemas.android.com/apk/res-auto"
app:cardCornerRadius="8dp"
app:contentPadding="6dp"
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"
android:text="Update Center"
android:textAlignment="center"
android:textSize="18sp"
android:fontFamily="@font/exo_semibold"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"/>
<androidx.core.widget.ContentLoadingProgressBar
2020-04-12 20:09:17 +00:00
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:id="@+id/update_center_progressbar"
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"
android:progress="10"/>
<com.google.android.material.button.MaterialButton
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintTop_toBottomOf="@id/update_center_progressbar"
app:layout_constraintEnd_toEndOf="parent"
android:text="Close"
android:textAllCaps="false"/>
<com.google.android.material.button.MaterialButton
style="@style/Widget.MaterialComponents.Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintTop_toBottomOf="@id/update_center_progressbar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
android:text="Re-check"
android:textAllCaps="false"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView>