Skip to content

Commit

Permalink
show action overflow in system navigation, again
Browse files Browse the repository at this point in the history
If current activity doesn't use actionbar and the device doesn't have a
hardware menu button, the system must add the action overflow button
beside the system navigation, because otherwise the options become
inaccessible.
I implemented a solution based on this blogpost:
http://android-developers.blogspot.de/2012/01/say-goodbye-to-menu-button.html
[...] if you set minSdkVersion to 10 or lower, set targetSdkVersion to
11, 12, or 13, and you do not use ActionBar, the system will add the
legacy overflow button [...] if the device itself doesn't feature a
hardware menu button, thus making the options accessible.
This solves issue #105 where one could not access the options of
RemoteActivity (and others) on newer devices that don't feature a
hardware menu button (which is basically all devices except Samsung's)
  • Loading branch information
Carmelo Scollo authored and Carmelo Scollo committed Apr 16, 2014
1 parent 4fc10d7 commit 05b2716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AndroidManifest.xml
Expand Up @@ -5,7 +5,7 @@
android:versionCode="1009"
android:installLocation="auto">

<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="14" />
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="13" />

<supports-screens
android:largeScreens="true"
Expand Down

0 comments on commit 05b2716

Please sign in to comment.