aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-04-24 21:30:19 +0200
committerChristian Schneppe <christian@pix-art.de>2018-04-24 21:30:19 +0200
commit9103c001805cb70ae6c264523afbf249155b997d (patch)
tree703350b0d21de88a7b122e8d0c9238462d0ad3fb
parent83bbab5b9d59adf48b1e2d9c51606c2a2abd7206 (diff)
solve fab shadow bug on pre api 19 devices
-rw-r--r--src/main/res/layout/fragment_conversation.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/res/layout/fragment_conversation.xml b/src/main/res/layout/fragment_conversation.xml
index 8e6ff5a89..1dea98a8c 100644
--- a/src/main/res/layout/fragment_conversation.xml
+++ b/src/main/res/layout/fragment_conversation.xml
@@ -29,12 +29,12 @@
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/messages_view"
android:layout_alignParentEnd="true"
- android:layout_margin="12dp"
android:alpha="0.85"
android:src="?attr/icon_scroll_down"
android:visibility="gone"
app:backgroundTint="?attr/color_background_primary"
- app:fabSize="mini" />
+ app:fabSize="mini"
+ app:useCompatPadding="true" />
<de.pixart.messenger.ui.widget.UnreadCountCustomView
android:id="@+id/unread_count_custom_view"
@@ -42,6 +42,8 @@
android:layout_height="?attr/IconSize"
android:layout_alignEnd="@+id/scroll_to_bottom_button"
android:layout_alignTop="@+id/scroll_to_bottom_button"
+ android:layout_marginEnd="8dp"
+ android:layout_marginTop="16dp"
android:elevation="8dp"
android:visibility="gone"
app:backgroundColor="?attr/colorAccent" />