From 959157306d0abfc9a7d88112978cae827c6095e2 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Mon, 1 Oct 2018 08:51:57 +0200 Subject: add compatibility for older devices --- src/main/res/layout/fragment_conversation.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main/res/layout') 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" -- cgit v1.2.3