From 72036e4744f206d505cb6b8cc67ceb7ab39f9440 Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Sun, 8 Sep 2024 17:53:32 -0400 Subject: Refine ViewPrivateMessagesActivity UI. --- app/src/main/res/drawable/private_message_ballon.xml | 2 +- app/src/main/res/layout/activity_view_private_messages.xml | 5 ++++- app/src/main/res/layout/item_private_message_received.xml | 5 +---- app/src/main/res/layout/item_private_message_sent.xml | 5 +---- 4 files changed, 7 insertions(+), 10 deletions(-) (limited to 'app/src/main') diff --git a/app/src/main/res/drawable/private_message_ballon.xml b/app/src/main/res/drawable/private_message_ballon.xml index 3b188119..661ced83 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="24dp"> \ No newline at end of file diff --git a/app/src/main/res/layout/activity_view_private_messages.xml b/app/src/main/res/layout/activity_view_private_messages.xml index 2055b645..fea236d2 100644 --- a/app/src/main/res/layout/activity_view_private_messages.xml +++ b/app/src/main/res/layout/activity_view_private_messages.xml @@ -60,7 +60,10 @@ android:hint="@string/message" android:inputType="textMultiLine" android:maxLines="3" - android:padding="16dp" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="32dp" + android:paddingEnd="16dp" android:textColor="?attr/primaryTextColor" android:textSize="?attr/font_default" /> 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 6b8f0e68..7b26b3d4 100644 --- a/app/src/main/res/layout/item_private_message_received.xml +++ b/app/src/main/res/layout/item_private_message_received.xml @@ -21,10 +21,7 @@ android:id="@+id/message_text_view_item_private_message_received" android:layout_width="0dp" android:layout_height="wrap_content" - android:paddingTop="8dp" - android:paddingBottom="8dp" - android:paddingStart="16dp" - android:paddingEnd="16dp" + android:padding="12dp" android:layout_marginStart="16dp" android:textSize="?attr/content_font_16" app:layout_constraintBottom_toTopOf="@id/time_text_view_item_private_message_received" 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 75522ab2..38578b07 100644 --- a/app/src/main/res/layout/item_private_message_sent.xml +++ b/app/src/main/res/layout/item_private_message_sent.xml @@ -13,10 +13,7 @@ android:id="@+id/message_text_view_item_private_message_sent" android:layout_width="0dp" android:layout_height="wrap_content" - android:paddingTop="8dp" - android:paddingBottom="8dp" - android:paddingStart="16dp" - android:paddingEnd="16dp" + android:padding="12dp" android:textSize="?attr/content_font_16" app:layout_constraintBottom_toTopOf="@id/time_text_view_item_private_message_sent" app:layout_constraintStart_toStartOf="parent" -- cgit v1.2.3