修复LoadDialog

This commit is contained in:
ningwenqiang 2024-11-07 10:17:19 +08:00
parent 940db59889
commit 3ece1d2568

View File

@ -1,30 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="70dp"
android:layout_height="70dp"
android:background="@drawable/bg_loading_dialog"
android:orientation="vertical"
>
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/bg_loading_dialog"
android:minWidth="70dp"
android:minHeight="70dp"
android:orientation="vertical">
<ProgressBar
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="8dp"
android:layout_marginTop="14dp"
android:layout_marginBottom="8dp"
android:indeterminateBehavior="repeat"
android:indeterminateDrawable="@drawable/anim_loading"
android:indeterminateOnly="true"
/>
android:indeterminateOnly="true" />
<TextView
android:id="@+id/text"
android:layout_width="wrap_content"
android:maxWidth="140dp"
android:gravity="center"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/loading"
android:textColor="@color/white"
android:textSize="14sp"
/>
android:textSize="14sp" />
</LinearLayout>