My application depends on a library project.
The menu.xml file is within the application project. All the java code is within the library projec
Yes you can if you know the package name of your library. Resources.getIdentifier(...)
You can do:
getResources().getIdentifier("res_name", "res_type", "com.library.package");
ex:
R.id.settings would be:
R.id.settings
getResources().getIdentifier("settings", "id", "com.library.package");