2023-06-20 17:46:31 +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"
|
2024-01-09 14:52:27 +08:00
|
|
|
|
android:id="@+id/bodyLayout"
|
2023-06-20 17:46:31 +08:00
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/message_time"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="28dp"
|
|
|
|
|
android:layout_marginBottom="18dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="6月18日 13:25"
|
|
|
|
|
android:textColor="#7F7F7F"
|
|
|
|
|
android:textSize="11sp" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
2024-01-03 18:28:49 +08:00
|
|
|
|
android:id="@+id/itemLayout"
|
2023-06-20 17:46:31 +08:00
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<!--通知小喇叭-->
|
|
|
|
|
<ImageView
|
2024-01-09 14:52:27 +08:00
|
|
|
|
android:id="@+id/icon"
|
2023-06-20 17:46:31 +08:00
|
|
|
|
android:layout_width="37dp"
|
|
|
|
|
android:layout_height="37dp"
|
|
|
|
|
android:layout_marginStart="11dp"
|
|
|
|
|
android:src="@mipmap/icon_notification_speaker" />
|
|
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:layout_marginEnd="42dp"
|
2024-01-09 14:52:27 +08:00
|
|
|
|
android:clickable="false"
|
2023-06-20 17:46:31 +08:00
|
|
|
|
app:cardBackgroundColor="#fff"
|
|
|
|
|
app:cardCornerRadius="12dp"
|
|
|
|
|
app:cardElevation="0dp">
|
|
|
|
|
|
2024-01-09 14:52:27 +08:00
|
|
|
|
<RelativeLayout
|
2023-06-20 17:46:31 +08:00
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2024-01-09 14:52:27 +08:00
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:visibility="visible">
|
2023-06-20 17:46:31 +08:00
|
|
|
|
|
2024-01-09 14:52:27 +08:00
|
|
|
|
<LinearLayout
|
2023-06-20 17:46:31 +08:00
|
|
|
|
android:layout_width="match_parent"
|
2024-01-09 14:52:27 +08:00
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/title"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="11dp"
|
|
|
|
|
android:layout_marginTop="11dp"
|
|
|
|
|
android:layout_marginEnd="11dp"
|
|
|
|
|
android:layout_marginBottom="11dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:maxLines="2"
|
|
|
|
|
android:text="標題"
|
|
|
|
|
android:textColor="#000000"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/del"
|
|
|
|
|
android:layout_width="60dp"
|
|
|
|
|
android:layout_height="25dp"
|
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
|
android:background="@drawable/bg_gray_del"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="@string/delete"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:visibility="invisible" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:id="@+id/cv_img_content"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
|
android:layout_marginBottom="6dp"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:cardCornerRadius="8dp"
|
|
|
|
|
app:cardElevation="0dp">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/img_content"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="87dp"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:scaleType="centerCrop" />
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
2023-06-20 17:46:31 +08:00
|
|
|
|
|
|
|
|
|
<TextView
|
2024-01-09 14:52:27 +08:00
|
|
|
|
android:id="@+id/message_context"
|
|
|
|
|
android:layout_width="match_parent"
|
2023-06-20 17:46:31 +08:00
|
|
|
|
android:layout_height="wrap_content"
|
2024-01-09 14:52:27 +08:00
|
|
|
|
android:layout_marginStart="11dp"
|
2023-06-20 17:46:31 +08:00
|
|
|
|
android:layout_marginEnd="11dp"
|
2024-01-09 14:52:27 +08:00
|
|
|
|
android:layout_marginBottom="11dp"
|
|
|
|
|
android:text="親愛的用戶昵稱,恭喜你獲得23年7月1日-23年7月31日的xx禮物冠名權,冠名生效期間您可使用專屬禮物冠名皮膚。小PD已給您佩戴了專屬送禮特效,也可在個性裝扮中取消佩戴。"
|
|
|
|
|
android:textColor="#040404"
|
|
|
|
|
android:textSize="15sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/layout_more"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
2023-06-20 17:46:31 +08:00
|
|
|
|
|
2024-01-09 14:52:27 +08:00
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1.2dp"
|
|
|
|
|
android:layout_marginStart="11dp"
|
|
|
|
|
android:layout_marginEnd="11dp"
|
|
|
|
|
android:background="#F6F6F6" />
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="11dp"
|
|
|
|
|
android:text="@string/live_user_mailbox_more_text"
|
|
|
|
|
android:textColor="#838383"
|
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="13dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_gravity="end"
|
|
|
|
|
android:layout_marginEnd="11dp"
|
|
|
|
|
android:src="@mipmap/icon_arrow_right" />
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
2023-06-20 17:46:31 +08:00
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
2024-01-09 14:52:27 +08:00
|
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:id="@+id/radius"
|
|
|
|
|
android:layout_width="7dp"
|
|
|
|
|
android:layout_height="7dp"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:cardBackgroundColor="#FF0000"
|
|
|
|
|
app:cardCornerRadius="20dp" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
2023-06-20 17:46:31 +08:00
|
|
|
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|