I am trying to create menu according to https://guides.codepath.com/android/Using-the-App-Toolbar
Menu items are shown perfectly only in menu_main.xml. I cant see items in toolbar_main.xml or activity_main.xml... According to other solutions posted on stack, I didn't solve my problem. Everything is done according to these docs at codepath and should work.
What should be done to see menu in main activity, or this is normal behavior?
Turns out that's normal behavior. Strange not to see render in root coming from web :D
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.