• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps inflate(R.menu...menu is marked red...

iggy23

Newbie
I´m working on a sql database, and i was creating menu, but when i say :

getMenuInfater().inflate(R.menu.menu_main,menu); the menu, who comes after R is red, like there is nothing called that ...?

i have also tried to create menu.xml in res/layout folder...

someone with a solution? :)
 
upload_2017-2-23_21-31-54.png
 
Back
Top Bottom