7
votes

I have application with old - style menu. After changing theme to Holo and switching target SDK version to 14, soft menu button disappeared (it's OK) but using menu button on action bar shows text menu mostly off-screen as you can see at enclosed image. Have you any ideas how to fix that?

Action bar error

I have solved this. Problem was in manifest parameter:

   <supports-screens
        android:anyDensity="false"
        android:largeScreens="true"
        android:normalScreens="true"
        android:xlargeScreens="true"
        android:resizeable="true"
        android:smallScreens="true" />

After change anyDenisity to true this problem has gone.

1
That is very strange. I have never seen that before. If you can create a sample project that reproduces this problem, post it somewhere, as I would like to take a look at it.CommonsWare
Unfortunately, that did not do the trick for me, the menu still falls mostly off the screen. Any other solutions out there?Kasper Peeters

1 Answers

6
votes

I had similar problem and fixed it by setting android:anyDensity="true". It also fixed other issues like tooltip size on high density screens. According to android developer guide: you should not set it "false".