0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-10 12:55:06 +00:00
VancedManager/app/src/main/res/layout/dialog_manager_update.xml

54 lines
2.2 KiB
XML
Raw Normal View History

2020-10-31 19:45:39 +00:00
<?xml version="1.0" encoding="utf-8"?>
2020-12-11 19:22:43 +00:00
<com.google.android.material.card.MaterialCardView 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"
app:contentPaddingLeft="16dp"
app:contentPaddingRight="16dp"
tools:context=".ui.dialogs.ManagerUpdateDialog"
style="@style/MaterialCard">
<RelativeLayout
2020-10-31 19:45:39 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent">
2020-10-31 19:45:39 +00:00
<TextView
android:id="@+id/manager_update_header"
android:text="@string/update_center"
2020-12-11 19:22:43 +00:00
style="@style/DialogCardTitle" />
2020-10-31 19:45:39 +00:00
<TextView
android:id="@+id/manager_update_patient"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentStart="true"
android:layout_below="@id/manager_update_header"
android:layout_marginTop="8dp"
android:gravity="center"
android:text="@string/checking_updates"
2020-12-11 19:22:43 +00:00
android:textSize="16sp" />
2020-12-11 19:22:43 +00:00
<com.google.android.material.progressindicator.LinearProgressIndicator
android:id="@+id/manager_update_progressbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/manager_update_patient"
android:layout_marginTop="32dp"
android:paddingBottom="8dp"
2020-12-11 19:22:43 +00:00
app:trackCornerRadius="15dp"
tools:progress="10"
2020-12-11 19:22:43 +00:00
tools:visibility="visible" />
2020-12-14 21:18:58 +00:00
<com.vanced.manager.ui.core.ThemedOutlinedMaterialButton
android:id="@+id/manager_update_cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_below="@id/manager_update_progressbar"
android:text="@string/cancel"
2020-12-18 12:12:52 +00:00
style="@style/OutlinedButtonStyle" />
</RelativeLayout>
2020-12-18 12:12:52 +00:00
</com.google.android.material.card.MaterialCardView>