summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2018-07-17 20:31:41 +0530
committerJason A. Donenfeld <Jason@zx2c4.com>2018-07-18 02:15:06 +0200
commitd43e77867c3a58e434307b4eb9469b1766ddc6c8 (patch)
tree93e5076cfa85b8d2c120f96ec37a709ca27108b2 /app/src/main/res
parentdf03bdd7f967525a90e54e306dd84aa81583c26d (diff)
fab: slide fab up when a snackbar shows
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/tunnel_list_fragment.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/res/layout/tunnel_list_fragment.xml b/app/src/main/res/layout/tunnel_list_fragment.xml
index 5aff4739..a8a33dcc 100644
--- a/app/src/main/res/layout/tunnel_list_fragment.xml
+++ b/app/src/main/res/layout/tunnel_list_fragment.xml
@@ -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"