59 lines
1.9 KiB
XML
59 lines
1.9 KiB
XML
|
<?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>
|