aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/message_received.xml
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-07-19 22:34:47 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-07-20 16:02:18 +0200
commitdcf9117451877b1add21543910224b2120367393 (patch)
treed11396e5deb8816ec848644c833705225b21dc19 /src/main/res/layout/message_received.xml
parente6cb12dfe414497b4317820497985c110cb81864 (diff)
changed sizes of avatars and padding in new message bubbles
Diffstat (limited to 'src/main/res/layout/message_received.xml')
-rw-r--r--src/main/res/layout/message_received.xml21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/main/res/layout/message_received.xml b/src/main/res/layout/message_received.xml
index 785e5b969..4de9adddf 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">
<ImageView
android:id="@+id/message_photo"
- android:layout_width="36dp"
- android:layout_height="38dp"
- android:paddingTop="2dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
- android:layout_marginRight="@dimen/message_profile_image_gap"
android:scaleType="fitXY"
android:src="@drawable/ic_profile" />
@@ -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">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:gravity="center_vertical"
- android:orientation="vertical">
+ android:orientation="vertical"
+ android:padding="2dp">
<ImageView
android:id="@+id/message_image"