From 33ac7e92df57529540206d9f69fa00df4b31c056 Mon Sep 17 00:00:00 2001 From: Docile-Alligator Date: Sat, 14 May 2022 17:54:56 +0800 Subject: Tweak UI in private messages. --- app/src/main/res/drawable/ic_round_copy_16.xml | 5 +++++ app/src/main/res/drawable/private_message_ballon.xml | 2 +- app/src/main/res/layout/item_private_message_received.xml | 8 ++++---- app/src/main/res/layout/item_private_message_sent.xml | 8 ++++---- 4 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 app/src/main/res/drawable/ic_round_copy_16.xml diff --git a/app/src/main/res/drawable/ic_round_copy_16.xml b/app/src/main/res/drawable/ic_round_copy_16.xml new file mode 100644 index 00000000..e965d28e --- /dev/null +++ b/app/src/main/res/drawable/ic_round_copy_16.xml @@ -0,0 +1,5 @@ + + + diff --git a/app/src/main/res/drawable/private_message_ballon.xml b/app/src/main/res/drawable/private_message_ballon.xml index 3e7f44d9..3b188119 100644 --- a/app/src/main/res/drawable/private_message_ballon.xml +++ b/app/src/main/res/drawable/private_message_ballon.xml @@ -2,6 +2,6 @@ + android:radius="18dp"> \ No newline at end of file diff --git a/app/src/main/res/layout/item_private_message_received.xml b/app/src/main/res/layout/item_private_message_received.xml index 861495bf..6b8f0e68 100644 --- a/app/src/main/res/layout/item_private_message_received.xml +++ b/app/src/main/res/layout/item_private_message_received.xml @@ -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" diff --git a/app/src/main/res/layout/item_private_message_sent.xml b/app/src/main/res/layout/item_private_message_sent.xml index c2a1cb3a..75522ab2 100644 --- a/app/src/main/res/layout/item_private_message_sent.xml +++ b/app/src/main/res/layout/item_private_message_sent.xml @@ -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" -- cgit v1.2.3