简体   繁体   中英

Can i use android toolbar with bottom navigation bar?

I used bottom navigation bar on my app. And I also want to use a toolbar to use a search filter. I know that I need a menu.xml to use a toolbar but I already made menu.xml to use the bottom navigation bar. If i use a toolbar on my app, do i have to made a new menu.xml?

Though I included more instances in bottom navigation bar's menu.xml, I couldn't do anything

两者不必具有相同的名称(menu.xml),也可以具有不同的名称(例如:导航的bottom_nav_menu.xml和工具栏的top_menu.xml)

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