solve fab shadow bug on pre api 19 devices (#2924)

This commit is contained in:
Harshit Bansal 2018-04-10 20:10:15 +05:30 committed by Daniel Gultsch
parent 3ae3404b54
commit a3e26b95f0
1 changed files with 4 additions and 2 deletions

View File

@ -28,14 +28,14 @@
android:id="@+id/scroll_to_bottom_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="12dp"
android:layout_alignParentEnd="true"
android:layout_alignBottom="@+id/messages_view"
android:alpha="0.85"
app:backgroundTint="?attr/color_background_primary"
android:src="?attr/icon_scroll_down"
app:fabSize="mini"
android:visibility="gone"/>
android:visibility="gone"
app:useCompatPadding="true"/>
<eu.siacs.conversations.ui.widget.UnreadCountCustomView
android:id="@+id/unread_count_custom_view"
@ -43,6 +43,8 @@
android:layout_height="?attr/IconSize"
android:layout_alignTop="@+id/scroll_to_bottom_button"
android:layout_alignEnd="@+id/scroll_to_bottom_button"
android:layout_marginTop="16dp"
android:layout_marginEnd="8dp"
android:elevation="8dp"
android:visibility="gone"
app:backgroundColor="?attr/unread_count" />