VancedManager/app/src/main/res/layout/dialog_manager_update.xml

46 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<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"
tools:context=".ui.dialogs.ManagerUpdateDialog"
android:keepScreenOn="true"
style="@style/DialogCard">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/manager_update_header"
android:text="@string/update_center"
style="@style/DialogCardTitle" />
<TextView
android:id="@+id/manager_update_patient"
android:layout_below="@id/manager_update_header"
android:text="@string/checking_updates"
style="@style/DialogCardSubtitle"/>
<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"
app:trackCornerRadius="15dp"
tools:progress="10"
tools:visibility="visible" />
<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"
style="@style/OutlinedButtonStyle" />
</RelativeLayout>
</com.google.android.material.card.MaterialCardView>