Tell me, what kind of UI element is used in WhatsApp (namely, where Documents, Camera, ...) is BottomSheet, only it was placed at the top? Or is it something else?

enter image description here

  • Do not use vatsap, explain how and when it appears? when you click on a clip in the toolbar? coming out on top? - Flippy
  • @ SergeyGrushin Yes, exactly there! - Lucky_girl

1 answer 1

DialogFragment + RevealEffect. And as it was a classic bug, so they did not fix it. When dispatch touch DialogFragment animation can start several times, depending on the number of clicks, passing its duration, ends. Looks not ok.

  • And what are the alternatives to do the same, but without bugs? What would look ok. - Lucky_girl
  • 2
    But not ... the bug is their mistake, and the classic one, as I wrote. It is very easy to fix, apparently just no one has yet informed them, and they themselves have not noticed. You can do it in the same way, you can do it with the help of popup, you can do it with the help of an additional layer and hide it, or with toolbarLayout. The last two will be different in back and front implementation. - Shwarz Andrei