Change the look of android options menu

I would like to create android options menu (left button on android device) looking like this one:

screen1

but using onPrepareOptionsMenu creates the menu which looks like this one:

screen2

Could you please point me how to change the look of the menu? Is there anything I can set in menu XML to change it's look or maybe I should use: onPrepareContextMenu?

Thanks in advance for your reply.

Upvotes: 1

Views: 423

Answers (1)

sandeep_jagtap
sandeep_jagtap

Reputation: 1512

Add

android:theme="@android:style/Theme.NoTitleBar.Fullscreen"

attribute to the <activity> tag in project's AndroidManifest.xml

<activity android:name="YourActivity"
          android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
          >

Upvotes: 1

Related Questions