1

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

  • you can follow this link --->https://www.androidhive.info/2017/12/android-working-with-bottom-sheet/ – UD.. Jan 21 '20 at 07:11

2 Answers2

2

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.

Vel
  • 74
  • 4
1

Use ViewPager and add fragments in ViewPager through adapter

Somesh Kumar
  • 8,088
  • 4
  • 33
  • 49
Farhan Fahim
  • 137
  • 2
  • 7