Android BottomNavigationView with custom views as icons

I am testing a new BottomNavigationView file from the Android support library. For one of the menu items, I would like to have my own view, so that I can add a circular image of the user as an icon.

After use, this is not possible either with this support component or with the roughhike / BottomBar library. Any ideas? One could simplify the question of how to use the layout in the menu as an icon, and if possible using BottomNavigationView or other libraries.

+6
source share
1 answer

I found a third-party Bottom Navigation View-type library that does everything we want, including the built-in function "number of notification icons."

https://github.com/aurelhubert/ahbottomnavigation

It’s a shame that official control is so useless, but I am using it now and it works great.

+4
source

Source: https://habr.com/ru/post/1012779/


All Articles