diff options
author | Docile-Alligator <chineseperson5@gmail.com> | 2022-05-14 09:54:56 +0000 |
---|---|---|
committer | Docile-Alligator <chineseperson5@gmail.com> | 2022-05-14 09:54:56 +0000 |
commit | 33ac7e92df57529540206d9f69fa00df4b31c056 (patch) | |
tree | fa32b425babacdd722cd06e4437feec2b3198f03 | |
parent | b75883c7586307e77eab40fd4d17db9192d4ff73 (diff) | |
download | infinity-for-reddit-33ac7e92df57529540206d9f69fa00df4b31c056.tar infinity-for-reddit-33ac7e92df57529540206d9f69fa00df4b31c056.tar.gz infinity-for-reddit-33ac7e92df57529540206d9f69fa00df4b31c056.tar.bz2 infinity-for-reddit-33ac7e92df57529540206d9f69fa00df4b31c056.tar.lz infinity-for-reddit-33ac7e92df57529540206d9f69fa00df4b31c056.tar.xz infinity-for-reddit-33ac7e92df57529540206d9f69fa00df4b31c056.tar.zst infinity-for-reddit-33ac7e92df57529540206d9f69fa00df4b31c056.zip |
Tweak UI in private messages.
4 files changed, 14 insertions, 9 deletions
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 @@ +<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> 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 @@ <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <corners - android:radius="22dp"> + android:radius="18dp"> </corners> </shape>
\ 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" |