From 90a011c4e4298640864382fcbbe469e94e773915 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 10 Jun 2019 17:45:35 +0200 Subject: [PATCH] Fix issue on animation --- .../main/res/layout/motion_fab_menu_merge.xml | 12 +-- .../main/res/xml/motion_scene_fab_menu.xml | 76 +++++-------------- 2 files changed, 27 insertions(+), 61 deletions(-) diff --git a/vector/src/main/res/layout/motion_fab_menu_merge.xml b/vector/src/main/res/layout/motion_fab_menu_merge.xml index 211293e8..a7f82fe4 100644 --- a/vector/src/main/res/layout/motion_fab_menu_merge.xml +++ b/vector/src/main/res/layout/motion_fab_menu_merge.xml @@ -5,7 +5,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" app:layoutDescription="@xml/motion_scene_fab_menu" - tools:motionProgress="0.5" + tools:motionProgress="0.65" tools:parentTag="androidx.constraintlayout.motion.widget.MotionLayout" tools:showPaths="true"> @@ -30,10 +30,11 @@ @@ -51,10 +52,11 @@ diff --git a/vector/src/main/res/xml/motion_scene_fab_menu.xml b/vector/src/main/res/xml/motion_scene_fab_menu.xml index d1c94f35..fc363cfc 100644 --- a/vector/src/main/res/xml/motion_scene_fab_menu.xml +++ b/vector/src/main/res/xml/motion_scene_fab_menu.xml @@ -6,58 +6,22 @@ + motion:duration="200"> - - - - - - - - - - - - - - - - + + android:visibility="invisible" /> + android:visibility="invisible" + motion:layout_constraintBottom_toBottomOf="@+id/createRoomItemGroup" + motion:layout_constraintEnd_toEndOf="@+id/createRoomItemGroup" + motion:layout_constraintTop_toTopOf="@+id/createRoomItemGroup" /> @@ -160,7 +122,8 @@