101 lines
3.2 KiB
XML
101 lines
3.2 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"
|
|
android:layout_width="280dp"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/bg_dialog_2"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/avatar"
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:layout_marginTop="15dp"
|
|
android:scaleType="centerCrop"
|
|
app:riv_oval="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="16sp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="15dp"
|
|
android:layout_marginTop="5dp"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/sex"
|
|
android:layout_width="18dp"
|
|
android:layout_height="15dp" />
|
|
|
|
<FrameLayout
|
|
android:layout_width="55dp"
|
|
android:layout_height="19dp">
|
|
|
|
|
|
<ImageView
|
|
android:id="@+id/contribute"
|
|
android:layout_width="55dp"
|
|
android:layout_height="19dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/leave"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginStart="28dp"
|
|
android:textColor="@color/white"
|
|
android:textSize="10sp"
|
|
android:textStyle="bold" />
|
|
</FrameLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/wait_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginBottom="8dp"
|
|
android:textColor="@color/textColor2"
|
|
android:textSize="14sp" />
|
|
|
|
<View style="@style/line2" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp">
|
|
|
|
<TextView
|
|
android:id="@+id/btn_refuse"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:text="@string/refuse"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="14sp" />
|
|
|
|
<View
|
|
android:layout_width="1dp"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/gray2" />
|
|
|
|
<TextView
|
|
android:id="@+id/btn_accept"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:text="@string/accept"
|
|
android:textColor="@color/global"
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
</LinearLayout> |