aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-10-01 08:51:57 +0200
committerChristian Schneppe <christian@pix-art.de>2018-10-01 08:51:57 +0200
commit959157306d0abfc9a7d88112978cae827c6095e2 (patch)
tree7b33e7f1b91ee246fd0c42e52b4d826d2fd4f42c /src/main
parentb268f791d0ecaefccff54d943e92e61dc95b4514 (diff)
add compatibility for older devices
Diffstat (limited to 'src/main')
-rw-r--r--src/main/res/layout/fragment_conversation.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/res/layout/fragment_conversation.xml b/src/main/res/layout/fragment_conversation.xml
index eca67f91e..8917333c1 100644
--- a/src/main/res/layout/fragment_conversation.xml
+++ b/src/main/res/layout/fragment_conversation.xml
@@ -30,6 +30,7 @@
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/messages_view"
android:layout_alignParentEnd="true"
+ android:layout_alignParentRight="true"
android:alpha="0.85"
android:src="?attr/icon_scroll_down"
android:visibility="gone"
@@ -42,8 +43,10 @@
android:layout_width="?attr/IconSize"
android:layout_height="?attr/IconSize"
android:layout_alignEnd="@+id/scroll_to_bottom_button"
+ android:layout_alignRight="@+id/scroll_to_bottom_button"
android:layout_alignTop="@+id/scroll_to_bottom_button"
android:layout_marginEnd="8dp"
+ android:layout_marginRight="8dp"
android:layout_marginTop="16dp"
android:elevation="8dp"
android:visibility="gone"
@@ -84,7 +87,9 @@
android:id="@+id/media_preview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
+ android:layout_toLeftOf="@+id/textSendButton"
android:layout_toStartOf="@+id/textSendButton"
android:background="@drawable/message_bubble_sent_blue"
android:orientation="horizontal"