2025-12-26 22:01:04 +08:00
|
|
|
<!-- 内容卡片 -->
|
|
|
|
|
<!-- <?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"
|
2026-02-10 18:26:31 +08:00
|
|
|
android:layout_width="@dimen/sw_150dp"
|
|
|
|
|
android:layout_height="@dimen/sw_240dp"
|
2025-12-26 22:01:04 +08:00
|
|
|
android:gravity="center"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
|
android:id="@+id/ivAvatar"
|
2026-02-10 18:26:31 +08:00
|
|
|
android:layout_width="@dimen/sw_67dp"
|
|
|
|
|
android:layout_height="@dimen/sw_67dp"
|
|
|
|
|
android:elevation="@dimen/sw_7dp"
|
2025-12-26 22:01:04 +08:00
|
|
|
android:src="@drawable/default_avatar"
|
2026-02-10 18:26:31 +08:00
|
|
|
app:civ_border_width="@dimen/sw_2dp"
|
2025-12-26 22:01:04 +08:00
|
|
|
app:civ_border_color="#DFF346" />
|
|
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
2026-02-10 18:26:31 +08:00
|
|
|
android:layout_width="@dimen/sw_150dp"
|
|
|
|
|
android:layout_height="@dimen/sw_200dp"
|
|
|
|
|
android:layout_marginTop="@dimen/_sw_40dp"
|
2025-12-26 22:01:04 +08:00
|
|
|
android:background="#ffffff"
|
2026-02-10 18:26:31 +08:00
|
|
|
app:cardCornerRadius="@dimen/sw_15dp"
|
|
|
|
|
app:cardElevation="@dimen/sw_6dp"
|
2025-12-26 22:01:04 +08:00
|
|
|
app:cardUseCompatPadding="true">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical"
|
2026-02-10 18:26:31 +08:00
|
|
|
android:layout_marginTop="@dimen/sw_10dp"
|
2025-12-26 22:01:04 +08:00
|
|
|
android:gravity="center"
|
2026-02-10 18:26:31 +08:00
|
|
|
android:padding="@dimen/sw_12dp">
|
2025-12-26 22:01:04 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tvName"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="name"
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:ellipsize="end"
|
|
|
|
|
android:maxLines="1"
|
2026-02-10 18:26:31 +08:00
|
|
|
android:textSize="@dimen/sw_16sp"
|
2025-12-26 22:01:04 +08:00
|
|
|
android:textColor="#1B1F1A" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/characterBackground"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="Be neither too closenor too distant"
|
|
|
|
|
android:ellipsize="end"
|
2026-02-10 18:26:31 +08:00
|
|
|
android:layout_marginTop="@dimen/sw_5dp"
|
2025-12-26 22:01:04 +08:00
|
|
|
android:gravity="center"
|
|
|
|
|
android:maxLines="2"
|
2026-02-10 18:26:31 +08:00
|
|
|
android:textSize="@dimen/sw_12sp"
|
2025-12-26 22:01:04 +08:00
|
|
|
android:textColor="#9A9A9A" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/download"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="Be neither too closenor too distant"
|
|
|
|
|
android:ellipsize="end"
|
2026-02-10 18:26:31 +08:00
|
|
|
android:layout_marginTop="@dimen/sw_5dp"
|
2025-12-26 22:01:04 +08:00
|
|
|
android:gravity="center"
|
|
|
|
|
android:maxLines="2"
|
|
|
|
|
android:textColor="#02BEAC"
|
2026-02-10 18:26:31 +08:00
|
|
|
android:textSize="@dimen/sw_10sp" />
|
2025-12-26 22:01:04 +08:00
|
|
|
|
2026-01-15 13:01:31 +08:00
|
|
|
<LinearLayout
|
2025-12-26 22:01:04 +08:00
|
|
|
android:id="@+id/operation"
|
2026-01-15 13:01:31 +08:00
|
|
|
android:gravity="center"
|
2026-02-10 18:26:31 +08:00
|
|
|
android:layout_width="@dimen/sw_100dp"
|
|
|
|
|
android:layout_height="@dimen/sw_32dp"
|
2026-01-15 13:01:31 +08:00
|
|
|
android:background="@drawable/list_two_bg">
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/operation_add_icon"
|
2026-02-10 18:26:31 +08:00
|
|
|
android:layout_width="@dimen/sw_15dp"
|
|
|
|
|
android:layout_height="@dimen/sw_15dp"
|
2026-01-15 13:01:31 +08:00
|
|
|
android:src="@drawable/operation_add"/>
|
|
|
|
|
</LinearLayout>
|
2025-12-26 22:01:04 +08:00
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
2026-01-15 13:01:31 +08:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|