74 lines
2.5 KiB
XML
74 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/bg_dialog_tip"
|
|
android:minWidth="256dp"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginStart="19dp"
|
|
android:layout_marginEnd="11dp"
|
|
android:layout_marginTop="21dp"
|
|
android:gravity="center"
|
|
android:ellipsize="marquee"
|
|
android:maxEms="11"
|
|
android:textColor="#333333"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold"
|
|
tools:text="余额不足,请充值后再进行尝试吧~" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/content_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
</FrameLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="14dp"
|
|
android:layout_marginTop="9dp"
|
|
android:visibility="visible"
|
|
android:layout_marginEnd="14dp"
|
|
android:gravity="center"
|
|
tools:text="" />
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginBottom="20dp"
|
|
android:gravity="center"
|
|
android:layout_gravity="bottom"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/cancel"
|
|
android:layout_width="70dp"
|
|
android:layout_height="38dp"
|
|
android:layout_marginEnd="36dp"
|
|
android:background="@drawable/bg_dialog_tip_cancel"
|
|
android:text="離開"
|
|
android:textColor="#333333"
|
|
android:textSize="12sp" />
|
|
|
|
<Button
|
|
android:id="@+id/apply"
|
|
android:layout_width="70dp"
|
|
android:layout_height="38dp"
|
|
android:background="@drawable/bg_dialog_tip_apply"
|
|
android:text="去充值"
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="12sp" />
|
|
</LinearLayout>
|
|
</LinearLayout> |