UPDATE聊天页面改版UI

This commit is contained in:
z583819556
2024-03-08 16:25:49 +08:00
parent e2e7ce8183
commit 5a866e5fc5
36 changed files with 787 additions and 65 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="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>

View 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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 584 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 626 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

View File

@@ -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>

View File

@@ -1448,4 +1448,5 @@
<string name="community_back">是否確認返回?</string>
<string name="back_community_sure">確定</string>
<string name="activity_msg_chat_input_hint">說點什麼</string>
</resources>

View File

@@ -1447,5 +1447,5 @@
<string name="community_back">是否確認返回?</string>
<string name="back_community_sure">確定</string>
<string name="activity_msg_chat_input_hint">說點什麼</string>
</resources>

View File

@@ -1444,5 +1444,5 @@
<string name="community_back">是否確認返回?</string>
<string name="back_community_sure">確定</string>
<string name="activity_msg_chat_input_hint">說點什麼</string>
</resources>

View File

@@ -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>