Android BottomNavigationView with custom views as icons [closed]

痞子三分冷 提交于 2019-12-08 15:52:16

问题


I'm trying out the new BottomNavigationView from the Android Support library. For one of the menu items I would like to have a custom view so that I can add a circular user image programatically as an icon.

After using, this does not seem possible with either this support component or the roughhike/BottomBar library. Any ideas? The question could be simplified on how to use a layout in a menu as an icon and if this is possible with BottomNavigationView or other libraries.

来源:https://stackoverflow.com/questions/40902557/android-bottomnavigationview-with-custom-views-as-icons

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!