pandorapan/common/src/main/res/layout/dialog_chat_charge.xml

59 lines
1.9 KiB
XML
Raw Normal View History

2024-02-23 16:07:50 +08:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bg_dialog_chat_charge"
android:orientation="vertical"
>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="50dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/charge"
android:textColor="@color/textColor"
android:textSize="15sp"
/>
<ImageView
android:id="@+id/btn_close"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_gravity="center_vertical|right"
android:layout_marginRight="10dp"
android:padding="5dp"
android:src="@mipmap/icon_dialog_charge_close"
android:tint="@color/gray3"
/>
</FrameLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:layout_weight="1"
android:overScrollMode="never"
/>
<TextView
android:id="@+id/btn_charge"
android:layout_width="300dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="15dp"
android:layout_marginTop="20dp"
android:background="@drawable/bg_btn_chat_charge"
android:gravity="center"
android:text="@string/chat_charge_tip"
android:textColor="@color/white"
android:textSize="16sp"
/>
</LinearLayout>