2

I am working on hiding the google bottomNavigationView I tried using visibility, there is a flicker. How to hide the android bottom navigation once user select an nested item, I need something like that uses in youtube app that slides when video fragment shown.

fun hideBottomNav() {
   bottomNavigationView.visibility = View.GONE
}
    
fun showBottomNav() {
    bottomNavigationView.visibility = View.VISIBLE
}

Used the below link that was sliding still flicker and most of the time the view was not hiding/showing as expected. https://stackoverflow.com/a/62955506/8775993

And also used the translate animation that also not working that good.

Need help in hiding or showing view without flicker's and smoother animation. Anyone can help?

SURYA N
  • 299
  • 2
  • 16

0 Answers0