简体   繁体   中英

Custom bottom navigation bar layout

I want to create the following customized BottomNavigationBar . How can I set custom layout for the same?

在此处输入图像描述

Can somebody tell me how to approach it?

You can check this library, hope this helps! BottomNavigationCircles-Android

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM