Is there a way to put a ring around a selected tab using BottomNavigationView the way Instagram does when you click on the profile tab?
In this case, the profile tab has a gray ring around the photo.
Is there a way to put a ring around a selected tab using BottomNavigationView the way Instagram does when you click on the profile tab?
In this case, the profile tab has a gray ring around the photo.
Copyright © 2021 Jogjafile Inc.

You'd set the
app:itemBackgroundwith a checked state selector with centered oval shapeSelector:
drawable/rounded_selector:And set that to the
BottomNavigationView:Edit
You'd set that to the menu item by combining drawable layers into LayerDrawable, then set that back to the menu item:
drawable/circle_border
And in code: