How to make 3 bottom sheet with bottom navigation like google map

240 Views Asked by At

I wonder how to make 3 bottom sheet above navigation bottom, when you touch the navigation, the bottom sheet will refresh the layout and change different bottom sheet directly, like this

this is google layout

2

There are 2 best solutions below

0
Vel On BEST ANSWER

Create 3 different bottomnavigationviews and add it in a same relative layout parent with same layout params. Show/hide the visibility of the bottomview based on the selection.

0
Farhan Fahim On

Use ViewPager and add fragments in ViewPager through adapter