summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@google.com>2010-10-08 15:13:22 -0400
committerDaniel Sandler <dsandler@google.com>2010-10-13 16:25:43 -0400
commite02d808abf370965c3c4e4d38af11bc69110fde2 (patch)
tree78e681d5f884ee5fd9a75f297b6c0384e6542a2c /packages/SystemUI/res
parent3f703de0fbc4a626eacc2973926a99bb8e4fe8e2 (diff)
downloadframeworks_base-e02d808abf370965c3c4e4d38af11bc69110fde2.zip
frameworks_base-e02d808abf370965c3c4e4d38af11bc69110fde2.tar.gz
frameworks_base-e02d808abf370965c3c4e4d38af11bc69110fde2.tar.bz2
Dynamically show the menu button on the system bar.
Windows with FLAG_NEEDS_MENU_KEY (or windowNeedsMenuKey=true in their theme) will cause the system bar to show a menu icon. (Note that the phone's status bar currently ignores this, but phones tend to have hardware menu keys anyway.) Additionally, all windows whose package's SDK version is pre-Honeycomb will have FLAG_NEEDS_MENU_KEY set by default. Bug: 3003728 Change-Id: I2d983763a726ea4f32cd1af9b0390e30478b11d1
Diffstat (limited to 'packages/SystemUI/res')
-rw-r--r--packages/SystemUI/res/layout-xlarge/status_bar.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/res/layout-xlarge/status_bar.xml b/packages/SystemUI/res/layout-xlarge/status_bar.xml
index 494dfa8..295c79b 100644
--- a/packages/SystemUI/res/layout-xlarge/status_bar.xml
+++ b/packages/SystemUI/res/layout-xlarge/status_bar.xml
@@ -144,6 +144,7 @@
android:paddingLeft="4dip"
android:paddingRight="4dip"
systemui:keyCode="82"
+ android:visibility="invisible"
/>
<ImageButton android:id="@+id/recent"
android:layout_width="wrap_content"