浏览代码

Fix #218

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 6 年之前
父节点
当前提交
103b3f2124

+ 2 - 2
app/src/main/res/layout/item_custom_incoming_text_message.xml

@@ -24,10 +24,10 @@
     xmlns:app="http://schemas.android.com/apk/res-auto"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
-    android:layout_marginBottom="8dp"
+    android:layout_marginBottom="2dp"
     android:layout_marginLeft="16dp"
     android:layout_marginRight="16dp"
-    android:layout_marginTop="8dp">
+    android:layout_marginTop="2dp">
 
     <com.stfalcon.chatkit.utils.ShapeImageView
         android:id="@id/messageUserAvatar"

+ 2 - 2
app/src/main/res/layout/item_custom_outcoming_text_message.xml

@@ -24,10 +24,10 @@
     xmlns:app="http://schemas.android.com/apk/res-auto"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
-    android:layout_marginBottom="8dp"
+    android:layout_marginBottom="2dp"
     android:layout_marginLeft="16dp"
     android:layout_marginRight="16dp"
-    android:layout_marginTop="8dp">
+    android:layout_marginTop="2dp">
 
     <com.google.android.flexbox.FlexboxLayout
         android:id="@id/bubble"

+ 1 - 1
app/src/main/res/values/dimens.xml

@@ -21,5 +21,5 @@
     <dimen name="avatar_corner_radius">20dp</dimen>
 
     <dimen name="chat_text_size">14sp</dimen>
-
+    <dimen name="message_bubble_corners_radius">8dp</dimen>
 </resources>