fab: slide fab up when a snackbar shows

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya
2018-07-18 02:15:06 +02:00
committed by Jason A. Donenfeld
parent df03bdd7f9
commit d43e77867c
2 changed files with 34 additions and 1 deletions
@@ -43,7 +43,8 @@
android:layout_margin="16dp"
app:fab_labelStyle="@style/fab_label"
android:clipChildren="false"
app:fab_labelsPosition="left" >
app:fab_labelsPosition="left"
app:layout_behavior="com.wireguard.android.widget.fab.FloatingActionButtonBehavior" >
<com.wireguard.android.widget.fab.LabeledFloatingActionButton
android:id="@+id/create_empty"