aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-09-08 21:53:32 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-09-08 21:53:32 +0000
commit72036e4744f206d505cb6b8cc67ceb7ab39f9440 (patch)
tree947bf09ab052e92df0a010f3eddf000ea08cc28e /app/src
parent5c057b4d1504c3c0eb496bc09e69083212670dc7 (diff)
downloadinfinity-for-reddit-72036e4744f206d505cb6b8cc67ceb7ab39f9440.tar
infinity-for-reddit-72036e4744f206d505cb6b8cc67ceb7ab39f9440.tar.gz
infinity-for-reddit-72036e4744f206d505cb6b8cc67ceb7ab39f9440.tar.bz2
infinity-for-reddit-72036e4744f206d505cb6b8cc67ceb7ab39f9440.tar.lz
infinity-for-reddit-72036e4744f206d505cb6b8cc67ceb7ab39f9440.tar.xz
infinity-for-reddit-72036e4744f206d505cb6b8cc67ceb7ab39f9440.tar.zst
infinity-for-reddit-72036e4744f206d505cb6b8cc67ceb7ab39f9440.zip
Refine ViewPrivateMessagesActivity UI.
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/res/drawable/private_message_ballon.xml2
-rw-r--r--app/src/main/res/layout/activity_view_private_messages.xml5
-rw-r--r--app/src/main/res/layout/item_private_message_received.xml5
-rw-r--r--app/src/main/res/layout/item_private_message_sent.xml5
4 files changed, 7 insertions, 10 deletions
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 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners
- android:radius="18dp">
+ android:radius="24dp">
</corners>
</shape> \ 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"