Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b233609 authored by Nancy Chen's avatar Nancy Chen
Browse files

Do not translate FAB downward when transitioning between tabs.

Since the TAB Y coordinate depends on the snackbar, be sure not to
update it when transitioning between tabs or else it will potentially
overlay the snackbar.

Bug: 26525336
Change-Id: I2af253ee4fd9c32fbcb7ba63c603be0e2730aac0
parent 9f3e1348
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -111,7 +111,6 @@ public class FloatingActionButtonController {
        // moves along with it.
        // moves along with it.
        mFloatingActionButtonContainer.setTranslationX(
        mFloatingActionButtonContainer.setTranslationX(
                (int) (positionOffset * getTranslationXForAlignment(ALIGN_END)));
                (int) (positionOffset * getTranslationXForAlignment(ALIGN_END)));
        mFloatingActionButtonContainer.setTranslationY(0);
    }
    }


    /**
    /**