From dcf9117451877b1add21543910224b2120367393 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 19 Jul 2015 22:34:47 +0200 Subject: changed sizes of avatars and padding in new message bubbles --- .../drawable-hdpi/message_bubble_received.9.png | Bin 759 -> 760 bytes .../res/drawable-hdpi/message_bubble_sent.9.png | Bin 693 -> 687 bytes .../drawable-mdpi/message_bubble_received.9.png | Bin 589 -> 588 bytes .../res/drawable-mdpi/message_bubble_sent.9.png | Bin 570 -> 558 bytes .../drawable-xhdpi/message_bubble_received.9.png | Bin 922 -> 917 bytes .../res/drawable-xhdpi/message_bubble_sent.9.png | Bin 832 -> 857 bytes .../drawable-xxhdpi/message_bubble_received.9.png | Bin 1319 -> 1309 bytes .../res/drawable-xxhdpi/message_bubble_sent.9.png | Bin 1195 -> 1190 bytes .../drawable-xxxhdpi/message_bubble_received.9.png | Bin 1672 -> 1695 bytes .../res/drawable-xxxhdpi/message_bubble_sent.9.png | Bin 1519 -> 1499 bytes src/main/res/layout/fragment_conversation.xml | 3 --- src/main/res/layout/message_received.xml | 21 +++++++++-------- src/main/res/layout/message_sent.xml | 26 +++++++++++---------- src/main/res/layout/message_status.xml | 8 +++---- src/main/res/values/dimens.xml | 1 - 15 files changed, 29 insertions(+), 30 deletions(-) (limited to 'src/main/res') diff --git a/src/main/res/drawable-hdpi/message_bubble_received.9.png b/src/main/res/drawable-hdpi/message_bubble_received.9.png index eb44a1b6..20647f9f 100644 Binary files a/src/main/res/drawable-hdpi/message_bubble_received.9.png and b/src/main/res/drawable-hdpi/message_bubble_received.9.png differ diff --git a/src/main/res/drawable-hdpi/message_bubble_sent.9.png b/src/main/res/drawable-hdpi/message_bubble_sent.9.png index 9daa36bd..6cc8e81e 100644 Binary files a/src/main/res/drawable-hdpi/message_bubble_sent.9.png and b/src/main/res/drawable-hdpi/message_bubble_sent.9.png differ diff --git a/src/main/res/drawable-mdpi/message_bubble_received.9.png b/src/main/res/drawable-mdpi/message_bubble_received.9.png index 3b4eee56..6525d6c0 100644 Binary files a/src/main/res/drawable-mdpi/message_bubble_received.9.png and b/src/main/res/drawable-mdpi/message_bubble_received.9.png differ diff --git a/src/main/res/drawable-mdpi/message_bubble_sent.9.png b/src/main/res/drawable-mdpi/message_bubble_sent.9.png index 74fb8d41..72cda820 100644 Binary files a/src/main/res/drawable-mdpi/message_bubble_sent.9.png and b/src/main/res/drawable-mdpi/message_bubble_sent.9.png differ diff --git a/src/main/res/drawable-xhdpi/message_bubble_received.9.png b/src/main/res/drawable-xhdpi/message_bubble_received.9.png index 0f5f1ac6..d543043a 100644 Binary files a/src/main/res/drawable-xhdpi/message_bubble_received.9.png and b/src/main/res/drawable-xhdpi/message_bubble_received.9.png differ diff --git a/src/main/res/drawable-xhdpi/message_bubble_sent.9.png b/src/main/res/drawable-xhdpi/message_bubble_sent.9.png index 7939f213..12b4a243 100644 Binary files a/src/main/res/drawable-xhdpi/message_bubble_sent.9.png and b/src/main/res/drawable-xhdpi/message_bubble_sent.9.png differ diff --git a/src/main/res/drawable-xxhdpi/message_bubble_received.9.png b/src/main/res/drawable-xxhdpi/message_bubble_received.9.png index c47974c5..9bbdd98c 100644 Binary files a/src/main/res/drawable-xxhdpi/message_bubble_received.9.png and b/src/main/res/drawable-xxhdpi/message_bubble_received.9.png differ diff --git a/src/main/res/drawable-xxhdpi/message_bubble_sent.9.png b/src/main/res/drawable-xxhdpi/message_bubble_sent.9.png index 2117c187..3b997759 100644 Binary files a/src/main/res/drawable-xxhdpi/message_bubble_sent.9.png and b/src/main/res/drawable-xxhdpi/message_bubble_sent.9.png differ diff --git a/src/main/res/drawable-xxxhdpi/message_bubble_received.9.png b/src/main/res/drawable-xxxhdpi/message_bubble_received.9.png index 5e65d062..49827765 100644 Binary files a/src/main/res/drawable-xxxhdpi/message_bubble_received.9.png and b/src/main/res/drawable-xxxhdpi/message_bubble_received.9.png differ diff --git a/src/main/res/drawable-xxxhdpi/message_bubble_sent.9.png b/src/main/res/drawable-xxxhdpi/message_bubble_sent.9.png index 3d7ddbdd..74601a37 100644 Binary files a/src/main/res/drawable-xxxhdpi/message_bubble_sent.9.png and b/src/main/res/drawable-xxxhdpi/message_bubble_sent.9.png differ diff --git a/src/main/res/layout/fragment_conversation.xml b/src/main/res/layout/fragment_conversation.xml index 09d0573b..db92c05f 100644 --- a/src/main/res/layout/fragment_conversation.xml +++ b/src/main/res/layout/fragment_conversation.xml @@ -18,9 +18,6 @@ android:listSelector="@android:color/transparent" android:stackFromBottom="true" android:transcriptMode="normal" - android:paddingTop="@dimen/activity_horizontal_margin" - android:paddingBottom="@dimen/activity_horizontal_margin" - android:clipToPadding="false" tools:listitem="@layout/message_sent"> diff --git a/src/main/res/layout/message_received.xml b/src/main/res/layout/message_received.xml index 785e5b96..4de9addd 100644 --- a/src/main/res/layout/message_received.xml +++ b/src/main/res/layout/message_received.xml @@ -3,19 +3,17 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" - android:paddingBottom="0dp" - android:paddingLeft="@dimen/activity_vertical_margin" - android:paddingRight="4dp" - android:paddingTop="0dp"> + android:paddingBottom="3dp" + android:paddingLeft="8dp" + android:paddingRight="8dp" + android:paddingTop="3dp"> @@ -26,14 +24,17 @@ android:layout_alignParentBottom="true" android:layout_toRightOf="@+id/message_photo" android:background="@drawable/message_bubble_received" - android:minHeight="48dp" + android:minHeight="53dp" + android:layout_marginTop="-2dp" + android:layout_marginRight="-4dp" android:longClickable="true"> + android:orientation="vertical" + android:padding="2dp"> + android:paddingBottom="3dp" + android:paddingLeft="8dp" + android:paddingRight="8dp" + android:paddingTop="3dp"> + android:layout_alignParentEnd="true"/> + android:orientation="vertical" + android:padding="2dp"> + android:paddingTop="5dp" > 16dp 288dp 8dp - 0dp -- cgit v1.2.3