aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@wolfpuppy.org.uk>2012-10-27 21:21:48 +0100
committerTorne (Richard Coles) <torne@wolfpuppy.org.uk>2012-10-27 21:21:48 +0100
commitd59ed74b91d261197e3f9bc00eddfead61abb9f7 (patch)
treed87109c75671a344b720db54252896c06733a75a /res
parent7e55e7a846cbc86cb8e47cd04343218988a32093 (diff)
downloadconnectbot-d59ed74b91d261197e3f9bc00eddfead61abb9f7.tar.gz
connectbot-d59ed74b91d261197e3f9bc00eddfead61abb9f7.tar.bz2
connectbot-d59ed74b91d261197e3f9bc00eddfead61abb9f7.zip
Auto-hide the action bar.
On honeycomb and later devices, hide the action bar and only show it when the screen is touched, the same way as the ctrl/esc keys work. This avoids using up a chunk of screen space all the time just to have a menu button.
Diffstat (limited to 'res')
-rw-r--r--res/values-v11/styles.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/values-v11/styles.xml b/res/values-v11/styles.xml
index cf9636b..0b509ab 100644
--- a/res/values-v11/styles.xml
+++ b/res/values-v11/styles.xml
@@ -20,5 +20,11 @@
<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>
+
+ <style name="SolidActionBar" parent="android:Widget.Holo.ActionBar">
+ <item name="android:background">#222222</item>
</style>
</resources>