Tweak UI in private messages.

This commit is contained in:
Docile-Alligator 2022-05-14 17:54:56 +08:00
parent b75883c758
commit 33ac7e92df
4 changed files with 14 additions and 9 deletions

View File

@ -0,0 +1,5 @@
<vector android:height="16dp" android:tint="#000000"
android:viewportHeight="24" android:viewportWidth="24"
android:width="16dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M15,1L4,1c-1.1,0 -2,0.9 -2,2v13c0,0.55 0.45,1 1,1s1,-0.45 1,-1L4,4c0,-0.55 0.45,-1 1,-1h10c0.55,0 1,-0.45 1,-1s-0.45,-1 -1,-1zM19,5L8,5c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h11c1.1,0 2,-0.9 2,-2L21,7c0,-1.1 -0.9,-2 -2,-2zM18,21L9,21c-0.55,0 -1,-0.45 -1,-1L8,8c0,-0.55 0.45,-1 1,-1h9c0.55,0 1,0.45 1,1v12c0,0.55 -0.45,1 -1,1z"/>
</vector>

View File

@ -2,6 +2,6 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners
android:radius="22dp">
android:radius="18dp">
</corners>
</shape>

View File

@ -21,8 +21,8 @@
android:id="@+id/message_text_view_item_private_message_received"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:paddingTop="12dp"
android:paddingBottom="12dp"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:layout_marginStart="16dp"
@ -53,8 +53,8 @@
android:id="@+id/copy_image_view_item_private_message_received"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
android:src="@drawable/ic_copy_24dp"
android:padding="8dp"
android:src="@drawable/ic_round_copy_16"
android:clickable="true"
android:focusable="true"
android:background="?attr/actionBarItemBackground"

View File

@ -13,8 +13,8 @@
android:id="@+id/message_text_view_item_private_message_sent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:paddingTop="12dp"
android:paddingBottom="12dp"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:textSize="?attr/content_font_16"
@ -44,8 +44,8 @@
android:id="@+id/copy_image_view_item_private_message_sent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
android:src="@drawable/ic_copy_24dp"
android:padding="8dp"
android:src="@drawable/ic_round_copy_16"
android:clickable="true"
android:focusable="true"
android:background="?attr/actionBarItemBackground"