自定义底部导航栏布局
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 ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以查看这个库,希望这有帮助! BottomNavigationCircles-Android
You can check this library, hope this helps! BottomNavigationCircles-Android
如果您可以使用 Material 组件,那么这篇文章应该有用:https:// /protocoderspoint.com/custom-bottom-navigation-bar-android/。
这是在谷歌上相对容易找到的东西,所以我建议在那里寻找一些帮助。
如果您想在预先构建的布局/系统。
据我所知,没有方法为底部导航栏设置 android:layout="@layout/mylayout" 函数。
在 GitHub 上搜索“自定义底部导航栏”,并尝试在已经完成的肮脏工作的基础上进行构建。当您尝试构建后端导航模式和布局充气器时,它将节省大量时间和麻烦。
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.