add 分享

add 推送(搜索还没做、卡片还没做)
add 打招呼
This commit is contained in:
2024-03-15 16:06:18 +08:00
parent 828c5bd53e
commit 687d6e9bc0
66 changed files with 2225 additions and 31 deletions

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:width="68dp" android:height="37dp">
<shape android:shape="rectangle">
<gradient android:type="linear" android:useLevel="true" android:startColor="#ffff83c6" android:endColor="#ffeb6fff" android:angle="180" />
<corners android:topLeftRadius="15dp" android:topRightRadius="15dp" android:bottomLeftRadius="15dp" android:bottomRightRadius="15dp" />
</shape>
</item>
</selector>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:width="68dp" android:height="37dp">
<shape android:shape="rectangle">
<solid android:color="#ffdfdfdf" />
<corners android:topLeftRadius="15dp" android:topRightRadius="15dp" android:bottomLeftRadius="15dp" android:bottomRightRadius="15dp" />
</shape>
</item>
</selector>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:width="68dp" android:height="37dp">
<shape android:shape="rectangle">
<stroke android:width="1dp" android:color="#ff777777" />
<corners android:topLeftRadius="15dp" android:topRightRadius="15dp" android:bottomLeftRadius="15dp" android:bottomRightRadius="15dp" />
</shape>
</item>
</selector>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:width="235dp" android:height="44dp">
<shape android:shape="rectangle">
<solid android:color="#ffffffff" />
<corners android:topLeftRadius="15dp" android:topRightRadius="15dp" android:bottomLeftRadius="15dp" android:bottomRightRadius="15dp" />
</shape>
</item>
</selector>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:width="68dp" android:height="37dp">
<shape android:shape="rectangle">
<solid android:color="#ffffffff" />
<corners android:topLeftRadius="15dp" android:topRightRadius="15dp" android:bottomLeftRadius="15dp" android:bottomRightRadius="15dp" />
</shape>
</item>
</selector>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:width="63dp" android:height="23dp">
<shape android:shape="rectangle">
<solid android:color="#fffff6e8" />
<corners android:topLeftRadius="20dp" android:topRightRadius="20dp" android:bottomLeftRadius="20dp" android:bottomRightRadius="20dp" />
</shape>
</item>
</selector>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/lt_nodata_msg"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:gravity="center"
android:orientation="vertical"
android:visibility="visible">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/ic_addressbook_not_search" />
<TextView
android:id="@+id/textView12"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/not_data_message_address_book_list" />
</LinearLayout>
</RelativeLayout>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/lt_nodata_msg"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:gravity="center"
android:orientation="vertical"
android:visibility="visible">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/ic_message_not_search" />
<TextView
android:id="@+id/textView12"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/not_data_message_chat_list_search" />
</LinearLayout>
</RelativeLayout>

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/lt_nodata_msg"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:gravity="center"
android:orientation="vertical"
android:visibility="visible">
<ImageView
android:id="@+id/imageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/ic_message_not_chat_list" />
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/not_data_message_chat_list" />
</LinearLayout>
</RelativeLayout>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/lt_nodata_msg"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:gravity="center"
android:orientation="vertical"
android:visibility="visible">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/ic_message_not_search" />
<TextView
android:id="@+id/textView12"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/not_data_message_chat_list_search" />
</LinearLayout>
</RelativeLayout>

View File

@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="329dp"
android:layout_height="wrap_content"
android:minHeight="81dp"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:background="@mipmap/bg_message_push">
<com.yunbao.common.custom.RatioRoundImageView
android:id="@+id/avatar"
android:layout_width="40dp"
android:layout_height="0dp"
android:layout_marginStart="18dp"
android:layout_marginTop="15dp"
android:layout_marginBottom="15dp"
android:src="@mipmap/chat_head_mo"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:ri_ratio="0.5"
app:riv_oval="true" />
<TextView
android:id="@+id/anchorName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:layout_marginTop="20dp"
android:text="TextView"
android:textColor="#FFFFFF"
android:textSize="13sp"
app:layout_constraintStart_toEndOf="@+id/avatar"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/description"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:layout_marginEnd="8dp"
android:text="@string/main_anchor_live_notify_info"
android:textColor="#CCFFFFFF"
android:textSize="11sp"
app:layout_constraintEnd_toStartOf="@+id/liveGo"
app:layout_constraintStart_toStartOf="@+id/anchorName"
app:layout_constraintTop_toBottomOf="@+id/anchorName"
tools:text="123" />
<Button
android:id="@+id/liveGo"
android:layout_width="68dp"
android:layout_height="37dp"
android:layout_marginEnd="15dp"
android:background="@drawable/bg_view_msg_chat_notify_btn"
android:gravity="center"
android:text="@string/dialog_message_chat_notify_btn"
android:textColor="#333333"
android:textSize="13sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minHeight="81dp">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@mipmap/bg_dialog_say_hi"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
</ImageView>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/avatarLayout"
android:layout_width="104dp"
android:layout_height="104dp"
android:layout_marginTop="15dp"
android:background="@mipmap/bg_dialog_say_hi_avatar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
>
<com.yunbao.common.custom.RatioRoundImageView
android:id="@+id/avatar"
android:layout_width="93dp"
android:layout_height="93dp"
android:src="@mipmap/chat_head_mo"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:ri_ratio="1"
app:riv_oval="true" />
</androidx.constraintlayout.widget.ConstraintLayout>
<TextView
android:id="@+id/anchorName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="TextView"
android:textColor="#333333"
android:textSize="20sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/avatarLayout" />
<TextView
android:id="@+id/description"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginBottom="20dp"
android:text="@string/main_anchor_live_notify_info"
android:textColor="#777777"
android:gravity="center"
android:textSize="11sp"
app:layout_constraintBottom_toTopOf="@+id/liveGo"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:text="123" />
<include
android:id="@+id/age"
layout="@layout/view_msg_chat_top_tag"
android:layout_width="70dp"
android:layout_height="23dp"
android:layout_marginBottom="10dp"
app:layout_constraintBottom_toTopOf="@+id/tag_list_layout"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<LinearLayout
android:id="@+id/tag_list_layout"
android:layout_width="0dp"
android:layout_height="25dp"
android:layout_marginStart="24dp"
app:layout_constraintBottom_toTopOf="@+id/description"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
android:gravity="center"
android:layout_marginEnd="24dp"
android:orientation="horizontal">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/tag_list"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:layout_gravity="center"
android:layout_marginEnd="24dp"
android:orientation="horizontal"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:itemCount="3"
tools:listitem="@layout/view_msg_chat_top_tag" />
</LinearLayout>
<LinearLayout
android:id="@+id/liveGo"
android:layout_width="168dp"
android:layout_height="54dp"
android:layout_marginBottom="20dp"
android:background="@drawable/bg_msg_address_book_user_btn_fan"
android:gravity="center"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" >
<ImageView
android:layout_width="wrap_content"
android:src="@mipmap/bg_dialog_say_hi_btn"
android:layout_height="wrap_content"/>
<TextView
android:text="@string/dialog_message_say_hi_btn"
android:textColor="#FFFFFF"
android:layout_marginStart="5dp"
android:textSize="13sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
xmlns:tools="http://schemas.android.com/tools"
android:layout_marginEnd="5dp"
xmlns:app="http://schemas.android.com/apk/res-auto">
<TextView
android:gravity="start|center"
android:paddingStart="6dp"
android:paddingEnd="6dp"
android:textColor="#C38764"
android:textSize="11sp"
android:id="@+id/tag"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="@drawable/view_chat_top_tag"
android:scaleType="centerCrop"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:text="#标签" />
</androidx.constraintlayout.widget.ConstraintLayout>

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

View File

@@ -1451,4 +1451,12 @@ Limited ride And limited avatar frame</string>
<string name="back_community_sure">Sure</string>
<string name="activity_msg_chat_input_hint">Say something</string>
<string name="not_data_message_chat_list">暫無新消息哦~</string>
<string name="not_data_message_chat_list_search">暫無搜索結果,換個詞試試吧~</string>
<string name="not_data_message_address_book_list">當前列表為空~</string>
<string name="not_data_message_address_book_list_search">暫無搜索結果,換個詞試試吧~</string>
<string name="dialog_message_say_hi_age">Age:</string>
<string name="dialog_message_say_hi_btn">Say Hi</string>
<string name="dialog_message_chat_notify_btn">Reply</string>
</resources>

View File

@@ -1449,4 +1449,12 @@
<string name="back_community_sure">確定</string>
<string name="activity_msg_chat_input_hint">說點什麼</string>
<string name="not_data_message_chat_list">暫無新消息哦~</string>
<string name="not_data_message_chat_list_search">暫無搜索結果,換個詞試試吧~</string>
<string name="not_data_message_address_book_list">當前列表為空~</string>
<string name="not_data_message_address_book_list_search">暫無搜索結果,換個詞試試吧~</string>
<string name="dialog_message_say_hi_age">年齡:</string>
<string name="dialog_message_say_hi_btn">打招呼</string>
<string name="dialog_message_chat_notify_btn">回復</string>
</resources>

View File

@@ -1448,4 +1448,13 @@
<string name="back_community_sure">確定</string>
<string name="activity_msg_chat_input_hint">說點什麼</string>
<string name="not_data_message_chat_list">暫無新消息哦~</string>
<string name="not_data_message_chat_list_search">暫無搜索結果,換個詞試試吧~</string>
<string name="not_data_message_address_book_list">當前列表為空~</string>
<string name="not_data_message_address_book_list_search">暫無搜索結果,換個詞試試吧~</string>
<string name="dialog_message_say_hi_age">年齡:</string>
<string name="dialog_message_say_hi_btn">打招呼</string>
<string name="dialog_message_chat_notify_btn">回復</string>
</resources>

View File

@@ -1445,4 +1445,12 @@
<string name="back_community_sure">確定</string>
<string name="activity_msg_chat_input_hint">說點什麼</string>
<string name="not_data_message_chat_list">暫無新消息哦~</string>
<string name="not_data_message_chat_list_search">暫無搜索結果,換個詞試試吧~</string>
<string name="not_data_message_address_book_list">當前列表為空~</string>
<string name="not_data_message_address_book_list_search">暫無搜索結果,換個詞試試吧~</string>
<string name="dialog_message_say_hi_age">年齡:</string>
<string name="dialog_message_say_hi_btn">打招呼</string>
<string name="dialog_message_chat_notify_btn">回復</string>
</resources>

View File

@@ -1455,4 +1455,12 @@ Limited ride And limited avatar frame</string>
<string name="back_community_sure">Sure</string>
<string name="activity_msg_chat_input_hint">Say something</string>
<string name="not_data_message_chat_list">暫無新消息哦~</string>
<string name="not_data_message_chat_list_search">暫無搜索結果,換個詞試試吧~</string>
<string name="not_data_message_address_book_list">當前列表為空~</string>
<string name="not_data_message_address_book_list_search">暫無搜索結果,換個詞試試吧~</string>
<string name="dialog_message_say_hi_age">年齡:</string>
<string name="dialog_message_say_hi_btn">打招呼</string>
<string name="dialog_message_chat_notify_btn">回復</string>
</resources>