2022-07-18 15:31:45 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-09-01 10:40:04 +08:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-07-18 15:31:45 +08:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="80dp"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/icon"
|
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_centerVertical="true"
|
2022-09-01 10:40:04 +08:00
|
|
|
android:layout_marginLeft="10dp" />
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
|
|
android:id="@+id/avatar"
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginRight="12dp"
|
|
|
|
android:scaleType="centerCrop"
|
2022-09-01 10:40:04 +08:00
|
|
|
app:riv_oval="true" />
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxWidth="100dp"
|
|
|
|
android:singleLine="true"
|
2022-08-29 13:57:54 +08:00
|
|
|
android:textColor="#3F3F3F"
|
2022-09-01 10:40:04 +08:00
|
|
|
android:textSize="15sp" />
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
2022-09-01 10:40:04 +08:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/sex"
|
|
|
|
android:layout_width="18dp"
|
|
|
|
android:layout_height="15dp"
|
|
|
|
android:layout_marginTop="5dp" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/level"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="15dp"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginTop="5dp" />
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="right">
|
2022-09-01 10:40:04 +08:00
|
|
|
|
2022-07-18 15:31:45 +08:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
2022-09-01 10:40:04 +08:00
|
|
|
android:layout_marginEnd="20dp"
|
|
|
|
android:layout_marginBottom="5dp"
|
2022-07-18 15:31:45 +08:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
2023-09-02 11:16:01 +08:00
|
|
|
android:id="@+id/votesTitle"
|
2022-07-18 15:31:45 +08:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-09-01 10:40:04 +08:00
|
|
|
android:layout_gravity="right"
|
2022-07-18 15:31:45 +08:00
|
|
|
android:layout_marginRight="3dp"
|
|
|
|
android:text="貢獻度"
|
|
|
|
android:textColor="#ffb1b1b1"
|
2022-09-01 10:40:04 +08:00
|
|
|
android:textSize="12sp" />
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/votes"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-29 13:57:54 +08:00
|
|
|
android:layout_gravity="right"
|
2022-07-18 15:31:45 +08:00
|
|
|
android:gravity="center"
|
2022-09-01 10:40:04 +08:00
|
|
|
android:text="1"
|
|
|
|
android:textColor="#979797"
|
|
|
|
android:textSize="12sp" />
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|