toast_failed.xml 1.09 KB
Newer Older
UIUANG\Zsc's avatar
UIUANG\Zsc committed
1 2 3 4
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
5
    xmlns:app="http://schemas.android.com/apk/res-auto"
UIUANG\Zsc's avatar
UIUANG\Zsc committed
6 7 8 9 10 11 12 13 14
    android:background="@drawable/bg_loading"
    android:orientation="vertical"
    android:paddingLeft="10dp"
    android:paddingTop="15dp"
    android:paddingRight="10dp"
    android:paddingBottom="15dp"
    android:gravity="center">


15
    <androidx.appcompat.widget.AppCompatImageView
UIUANG\Zsc's avatar
UIUANG\Zsc committed
16 17 18
        android:layout_width="36dp"
        android:layout_height="36dp"
        android:scaleType="centerInside"
19
        app:srcCompat="@drawable/ic_tips_failed" />
UIUANG\Zsc's avatar
UIUANG\Zsc committed
20 21 22 23 24 25 26 27 28 29 30 31 32

    <TextView
        android:id="@android:id/message"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="6dp"
        android:ellipsize="none"
        android:gravity="center"
        android:scrollHorizontally="false"
        android:text=""
        android:textColor="@color/white"
        android:textSize="14sp" />
</LinearLayout>