aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/xml
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2014-04-26 21:51:41 +0200
committerArne Schwabe <arne@rfc2549.org>2014-05-17 13:08:16 +0200
commit786eccacbb285696d504d08ba02c61400ce063a2 (patch)
tree1f573c98796326d9732cd56f0b3e8fa1bdfb44b9 /main/res/xml
parent7ed9d23ec6a4ca513ef6b8b2fced47aac26d7c49 (diff)
downloadcgeo-786eccacbb285696d504d08ba02c61400ce063a2.zip
cgeo-786eccacbb285696d504d08ba02c61400ce063a2.tar.gz
cgeo-786eccacbb285696d504d08ba02c61400ce063a2.tar.bz2
Allow the user to choose always displaying the overflow button
Manually Cherry pick from rsudev/actionbar_schwabe: Always display the overflow menu button. Allow user to decide if the overflow should be shown or not. Since this only works on 3.0-4.3 hide the option on other platforms.
Diffstat (limited to 'main/res/xml')
-rw-r--r--main/res/xml/preferences.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/res/xml/preferences.xml b/main/res/xml/preferences.xml
index 76a6407..0bb419e 100644
--- a/main/res/xml/preferences.xml
+++ b/main/res/xml/preferences.xml
@@ -375,6 +375,7 @@
</PreferenceCategory>
</PreferenceScreen>
<PreferenceScreen
+ android:key="@string/pref_appearance"
android:icon="?attr/settings_eye"
android:title="@string/settings_title_appearance" >
<CheckBoxPreference
@@ -402,6 +403,12 @@
android:key="@string/pref_units"
android:summary="@string/init_summary_units"
android:title="@string/init_units" />
+ <!-- this preference is only shown on < 4.4 devices, 4.4 unconditionally enables it -->
+ <CheckBoxPreference
+ android:title="@string/init_showoverflowmenu"
+ android:summary="@string/init_showoverflow_summary"
+ android:key="@string/pref_alwaysshowoverflowmenu"
+ android:defaultValue="false" />
</PreferenceScreen>
<PreferenceScreen
android:icon="?attr/settings_details"