UPDATE聊天页面改版UI
This commit is contained in:
9
common/src/main/res/drawable/bg_message_chat_tip.xml
Normal file
9
common/src/main/res/drawable/bg_message_chat_tip.xml
Normal 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="261dp" android:height="50dp">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="#99ededed" />
|
||||
<corners android:topLeftRadius="8dp" android:topRightRadius="8dp" android:bottomLeftRadius="8dp" android:bottomRightRadius="8dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
24
common/src/main/res/layout/view_message_chat_tip.xml
Normal file
24
common/src/main/res/layout/view_message_chat_tip.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?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="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tips"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_message_chat_tip"
|
||||
android:maxWidth="261dp"
|
||||
android:padding="5dp"
|
||||
android:paddingStart="11dp"
|
||||
android:paddingEnd="11dp"
|
||||
tools:text="【安全提示】為保障您的權益,慶提高警惕,不要輕易添加或提供第三方聯繫方式"
|
||||
android:textColor="#76777B"
|
||||
android:textSize="10sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
BIN
common/src/main/res/mipmap-xxhdpi/bg_msg_chat.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/bg_msg_chat.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 584 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/bg_msg_chat_title.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/bg_msg_chat_title.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 626 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/bg_msg_chat_title_avater.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/bg_msg_chat_title_avater.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/bg_msg_chat_title_follow.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/bg_msg_chat_title_follow.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_message_chat_input.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/ic_message_chat_input.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 988 B |
@@ -1450,4 +1450,5 @@ Limited ride And limited avatar frame</string>
|
||||
<string name="community_back">Are you sure to return?</string>
|
||||
|
||||
<string name="back_community_sure">Sure</string>
|
||||
<string name="activity_msg_chat_input_hint">Say something</string>
|
||||
</resources>
|
||||
|
||||
@@ -1448,4 +1448,5 @@
|
||||
<string name="community_back">是否確認返回?</string>
|
||||
|
||||
<string name="back_community_sure">確定</string>
|
||||
<string name="activity_msg_chat_input_hint">說點什麼</string>
|
||||
</resources>
|
||||
|
||||
@@ -1447,5 +1447,5 @@
|
||||
<string name="community_back">是否確認返回?</string>
|
||||
|
||||
<string name="back_community_sure">確定</string>
|
||||
|
||||
<string name="activity_msg_chat_input_hint">說點什麼</string>
|
||||
</resources>
|
||||
|
||||
@@ -1444,5 +1444,5 @@
|
||||
<string name="community_back">是否確認返回?</string>
|
||||
|
||||
<string name="back_community_sure">確定</string>
|
||||
|
||||
<string name="activity_msg_chat_input_hint">說點什麼</string>
|
||||
</resources>
|
||||
|
||||
@@ -1454,5 +1454,5 @@ Limited ride And limited avatar frame</string>
|
||||
<string name="community_back">Are you sure to return?</string>
|
||||
|
||||
<string name="back_community_sure">Sure</string>
|
||||
|
||||
<string name="activity_msg_chat_input_hint">Say something</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user