I want to set a menu option icon for a drawable that is in another jar inside an xml file.
<item android:id="@+id/my_location"
android:title="My Location"
android:icon="@+drawable/my_location">
Instead of drawable/my_location have something like com.somelib.R.drawable.someDrawable.
I can set this in onCreateOptionsMenu but was just wondering if it could be done via the xml file.