Hi there,
So i wanted to add an menu with an image. So I made a new resource directory and called it menu. Then i did this:
The problem is that when i click on the image, the menu item 'Test' does not show.
Is there a way to fix this?
Thanks,
salm2s
So i wanted to add an menu with an image. So I made a new resource directory and called it menu. Then i did this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item android:id="@+id/menu"
android:icon="@drawable/ic_launcher"
app:showAsAction="ifRoom"
android:title="Test"
/>
</menu>
Is there a way to fix this?
Thanks,
salm2s