add 分享
add 聊天页面右上角菜单
This commit is contained in:
63
common/src/main/res/layout/view_message_chat_card.xml
Normal file
63
common/src/main/res/layout/view_message_chat_card.xml
Normal file
@@ -0,0 +1,63 @@
|
||||
<?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="192dp"
|
||||
android:layout_height="299dp"
|
||||
android:background="@drawable/bg_msg_list_search">
|
||||
|
||||
|
||||
<com.yunbao.common.custom.RatioRoundImageView
|
||||
android:id="@+id/cover"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="206dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:riv_corner_radius="15dp"
|
||||
app:ri_ratio="1.2"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:src="@mipmap/screen" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/titleView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="15dp"
|
||||
android:textColor="#333333"
|
||||
android:textSize="13sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/cover"
|
||||
tools:text="TextView" />
|
||||
|
||||
|
||||
<com.makeramen.roundedimageview.RoundedImageView
|
||||
android:id="@+id/avatar"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@mipmap/chat_head_mo"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/titleView"
|
||||
app:riv_oval="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/user_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:text="TextView"
|
||||
android:textColor="#333333"
|
||||
android:textSize="11sp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/avatar"
|
||||
app:layout_constraintStart_toEndOf="@+id/avatar"
|
||||
app:layout_constraintTop_toTopOf="@+id/avatar" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
BIN
common/src/main/res/mipmap-xxhdpi/ic_chat_black.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/ic_chat_black.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_chat_remarks.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/ic_chat_remarks.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_chat_report.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/ic_chat_report.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
@@ -26,6 +26,7 @@
|
||||
<string name="black">Pull black</string>
|
||||
<string name="black_ing">Relieving blackout</string>
|
||||
<string name="chat_remarks">Remarks</string>
|
||||
<string name="chat_report">Report</string>
|
||||
<string name="bonus_sign">Sign in immediately</string>
|
||||
<string name="bonus_sign_1">Continuously signed in</string>
|
||||
<string name="bonus_day">day</string>
|
||||
|
||||
@@ -16,7 +16,8 @@
|
||||
<string name="refresh_footer_nothing">沒有更多數據了</string>
|
||||
<string name="black">拉黑</string>
|
||||
<string name="black_ing">解除拉黑</string>
|
||||
<string name="chat_remarks">備註</string>
|
||||
<string name="chat_remarks">修改備註</string>
|
||||
<string name="chat_report">舉報</string>
|
||||
<string name="bonus_sign">立即簽到</string>
|
||||
<string name="bonus_sign_1">已連續簽到</string>
|
||||
<string name="bonus_day">天</string>
|
||||
|
||||
@@ -16,7 +16,8 @@
|
||||
<string name="refresh_footer_nothing">沒有更多數據了</string>
|
||||
<string name="black">拉黑</string>
|
||||
<string name="black_ing">解除拉黑</string>
|
||||
<string name="chat_remarks">備註</string>
|
||||
<string name="chat_remarks">修改備註</string>
|
||||
<string name="chat_report">舉報</string>
|
||||
<string name="bonus_sign">立即簽到</string>
|
||||
<string name="bonus_sign_1">已連續簽到</string>
|
||||
<string name="bonus_day">天</string>
|
||||
|
||||
@@ -16,7 +16,8 @@
|
||||
<string name="refresh_footer_nothing">沒有更多數據了</string>
|
||||
<string name="black">拉黑</string>
|
||||
<string name="black_ing">解除拉黑</string>
|
||||
<string name="chat_remarks">備註</string>
|
||||
<string name="chat_remarks">修改備註</string>
|
||||
<string name="chat_report">舉報</string>
|
||||
<string name="bonus_sign">立即簽到</string>
|
||||
<string name="bonus_sign_1">已連續簽到</string>
|
||||
<string name="bonus_day">天</string>
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
<string name="black">Pull black</string>
|
||||
<string name="black_ing">Relieving blackout</string>
|
||||
<string name="chat_remarks">Remarks</string>
|
||||
<string name="chat_report">Report</string>
|
||||
<string name="bonus_sign">Sign in immediately</string>
|
||||
<string name="bonus_sign_1">Continuously signed in</string>
|
||||
<string name="bonus_day">day</string>
|
||||
|
||||
Reference in New Issue
Block a user