diff options
author | Torne Wuff <torne@wolfpuppy.org.uk> | 2014-10-17 21:21:44 +0100 |
---|---|---|
committer | Torne Wuff <torne@wolfpuppy.org.uk> | 2014-10-17 21:21:44 +0100 |
commit | e6b5e402059489a19f9967e50ab3745ebe746d65 (patch) | |
tree | 91eec3cc77a03e2c10efae2da371250e6ffb0156 /res | |
parent | d64786d9197090c74072b648e487e3d34817bb57 (diff) | |
download | connectbot-e6b5e402059489a19f9967e50ab3745ebe746d65.tar.gz connectbot-e6b5e402059489a19f9967e50ab3745ebe746d65.tar.bz2 connectbot-e6b5e402059489a19f9967e50ab3745ebe746d65.zip |
Add preference to control action bar autohide.
Disabled by default so that people will be able to find the menu.
Diffstat (limited to 'res')
-rw-r--r-- | res/values-v11/styles.xml | 1 | ||||
-rw-r--r-- | res/values-v14/styles.xml | 1 | ||||
-rw-r--r-- | res/values/strings.xml | 5 | ||||
-rw-r--r-- | res/xml/preferences.xml | 7 |
4 files changed, 12 insertions, 2 deletions
diff --git a/res/values-v11/styles.xml b/res/values-v11/styles.xml index 0b509ab..9a0c22b 100644 --- a/res/values-v11/styles.xml +++ b/res/values-v11/styles.xml @@ -20,7 +20,6 @@ <resources> <style name="NoTitle" parent="android:Theme.Holo"> <item name="android:windowContentOverlay">@null</item> - <item name="android:windowActionBarOverlay">true</item> <item name="android:actionBarStyle">@style/SolidActionBar</item> </style> diff --git a/res/values-v14/styles.xml b/res/values-v14/styles.xml index 90131d1..3969010 100644 --- a/res/values-v14/styles.xml +++ b/res/values-v14/styles.xml @@ -20,7 +20,6 @@ <resources> <style name="NoTitle" parent="android:Theme.DeviceDefault"> <item name="android:windowContentOverlay">@null</item> - <item name="android:windowActionBarOverlay">true</item> <item name="android:actionBarStyle">@style/SolidActionBar</item> </style> diff --git a/res/values/strings.xml b/res/values/strings.xml index f8f8f89..e4f2aa5 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -153,6 +153,11 @@ <!-- Summary for the rotation mode preference --> <string name="pref_rotation_summary">"How to change rotation when keyboard popped in/out"</string> + <!-- Name for the titlebar hide preference --> + <string name="pref_titlebarhide_title">"Autohide title bar"</string> + <!-- Summary for the titlebar hide preference --> + <string name="pref_titlebarhide_summary">"Tap console to show title bar and access menu"</string> + <!-- Name for the full screen preference --> <string name="pref_fullscreen_title">"Full screen"</string> <!-- Summary for the full screen preference --> diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index 5fb836b..6d64ce2 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -78,6 +78,13 @@ /> <CheckBoxPreference + android:key="titlebarhide" + android:title="@string/pref_titlebarhide_title" + android:summary="@string/pref_titlebarhide_summary" + android:defaultValue="false" + /> + + <CheckBoxPreference android:key="fullscreen" android:title="@string/pref_fullscreen_title" android:summary="@string/pref_fullscreen_summary" |