2025-12-24 17:43:14 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2026-01-04 16:34:10 +08:00
|
|
|
android:layout_width="300dp"
|
2025-12-24 17:43:14 +08:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
2026-01-04 16:34:10 +08:00
|
|
|
android:padding="20dp"
|
|
|
|
|
android:background="@android:color/white">
|
2025-12-24 17:43:14 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2026-01-04 16:34:10 +08:00
|
|
|
android:text="选择充值金额"
|
|
|
|
|
android:textSize="18sp"
|
2025-12-24 17:43:14 +08:00
|
|
|
android:textStyle="bold"
|
2026-01-04 16:34:10 +08:00
|
|
|
android:textColor="#333333"
|
2025-12-24 17:43:14 +08:00
|
|
|
android:gravity="center"
|
2026-01-04 16:34:10 +08:00
|
|
|
android:layout_marginBottom="20dp"/>
|
2025-12-24 17:43:14 +08:00
|
|
|
|
2026-01-04 16:34:10 +08:00
|
|
|
<!-- 第一行: 10, 20, 50 -->
|
2025-12-24 17:43:14 +08:00
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
2026-01-04 16:34:10 +08:00
|
|
|
android:layout_marginBottom="8dp">
|
2025-12-24 17:43:14 +08:00
|
|
|
|
2026-01-04 16:34:10 +08:00
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btn_amount_10"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_marginEnd="4dp"
|
|
|
|
|
android:text="10元"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:textColor="#333333"
|
|
|
|
|
android:background="@drawable/bg_recharge_btn"/>
|
2025-12-24 17:43:14 +08:00
|
|
|
|
2026-01-04 16:34:10 +08:00
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btn_amount_20"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_marginHorizontal="4dp"
|
|
|
|
|
android:text="20元"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:textColor="#333333"
|
|
|
|
|
android:background="@drawable/bg_recharge_btn"/>
|
2025-12-24 17:43:14 +08:00
|
|
|
|
2026-01-04 16:34:10 +08:00
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btn_amount_50"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
|
android:text="50元"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:textColor="#333333"
|
|
|
|
|
android:background="@drawable/bg_recharge_btn"/>
|
2025-12-24 17:43:14 +08:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
2026-01-04 16:34:10 +08:00
|
|
|
<!-- 第二行: 100, 200, 500 -->
|
2025-12-24 17:43:14 +08:00
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
2026-01-04 16:34:10 +08:00
|
|
|
android:layout_marginBottom="8dp">
|
2025-12-24 17:43:14 +08:00
|
|
|
|
2026-01-04 16:34:10 +08:00
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btn_amount_100"
|
2025-12-24 17:43:14 +08:00
|
|
|
android:layout_width="0dp"
|
2026-01-04 16:34:10 +08:00
|
|
|
android:layout_height="50dp"
|
2025-12-24 17:43:14 +08:00
|
|
|
android:layout_weight="1"
|
2026-01-04 16:34:10 +08:00
|
|
|
android:layout_marginEnd="4dp"
|
|
|
|
|
android:text="100元"
|
2025-12-24 17:43:14 +08:00
|
|
|
android:textSize="14sp"
|
2026-01-04 16:34:10 +08:00
|
|
|
android:textColor="#333333"
|
|
|
|
|
android:background="@drawable/bg_recharge_btn"/>
|
2025-12-24 17:43:14 +08:00
|
|
|
|
2026-01-04 16:34:10 +08:00
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btn_amount_200"
|
2025-12-24 17:43:14 +08:00
|
|
|
android:layout_width="0dp"
|
2026-01-04 16:34:10 +08:00
|
|
|
android:layout_height="50dp"
|
2025-12-24 17:43:14 +08:00
|
|
|
android:layout_weight="1"
|
2026-01-04 16:34:10 +08:00
|
|
|
android:layout_marginHorizontal="4dp"
|
|
|
|
|
android:text="200元"
|
2025-12-24 17:43:14 +08:00
|
|
|
android:textSize="14sp"
|
2026-01-04 16:34:10 +08:00
|
|
|
android:textColor="#333333"
|
|
|
|
|
android:background="@drawable/bg_recharge_btn"/>
|
2025-12-24 17:43:14 +08:00
|
|
|
|
2026-01-04 16:34:10 +08:00
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btn_amount_500"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
|
android:text="500元"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:textColor="#333333"
|
|
|
|
|
android:background="@drawable/bg_recharge_btn"/>
|
2025-12-24 17:43:14 +08:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
2026-01-04 16:34:10 +08:00
|
|
|
<!-- 第三行: 1000 -->
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btn_amount_1000"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
|
android:text="1000元"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:textColor="#333333"
|
|
|
|
|
android:background="@drawable/bg_recharge_btn"/>
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btn_cancel"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="45dp"
|
|
|
|
|
android:text="取消"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:textColor="#FF6600"
|
|
|
|
|
android:background="@android:color/transparent"/>
|
|
|
|
|
|
2025-12-24 17:43:14 +08:00
|
|
|
</LinearLayout>
|