I want to create following customized BottomNavigation bar
. How can I set custom layout for bottom nav bar
?
Can somebody tell me how to approach it ?
CodePudding user response:
If you are OK with using Material components, this article should be of use: https://protocoderspoint.com/custom-bottom-navigation-bar-android/.
This is a relatively easy thing to find on Google, so I advise looking there for some help.
Check out sites like https://github.com/roughike/BottomBar if you want to build upon a pre-built layout/system.
As far as I can tell though, there is no method to set android:layout="@layout/mylayout" function for bottom nav bars.
Search GitHub for "custom bottom navigation bar" and try to build off of the dirty work that has been done there. It will save a lot of time and headache while you're trying to build the back-end navigation patterns and layout inflators.
CodePudding user response:
You can check this library, hope this helps! BottomNavigationCircles-Android