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"
|
2020-11-15 14:53:25 +00:00
|
|
|
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"
|
2020-11-15 14:53:25 +00:00
|
|
|
android:layout_height="match_parent">
|
2020-10-31 19:45:39 +00:00
|
|
|
|
2020-11-15 14:53:25 +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
|
|
|
|
2020-11-15 14:53:25 +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-11-15 14:53:25 +00:00
|
|
|
|
2020-12-11 19:22:43 +00:00
|
|
|
<com.google.android.material.progressindicator.LinearProgressIndicator
|
2020-11-15 14:53:25 +00:00
|
|
|
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"
|
2020-11-15 14:53:25 +00:00
|
|
|
tools:progress="10"
|
2020-12-11 19:22:43 +00:00
|
|
|
tools:visibility="visible" />
|
2020-11-15 14:53:25 +00:00
|
|
|
|
2020-12-14 21:18:58 +00:00
|
|
|
<com.vanced.manager.ui.core.ThemedOutlinedMaterialButton
|
2020-11-15 14:53:25 +00:00
|
|
|
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" />
|
|
|
|
|
2020-11-15 14:53:25 +00:00
|
|
|
</RelativeLayout>
|
2020-12-18 12:12:52 +00:00
|
|
|
|
2020-11-15 14:53:25 +00:00
|
|
|
</com.google.android.material.card.MaterialCardView>
|