summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/layout-port
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2012-04-20 14:49:13 -0400
committerDaniel Sandler <dsandler@android.com>2012-04-21 00:19:47 -0400
commit4a066c5c77109431f50806fc29179d28f1472871 (patch)
tree11c1836b80b78d0f70e8e0044f7679b36db6b20e /packages/SystemUI/res/layout-port
parent8b0af627997277978240525d87ef7a7f0661554b (diff)
downloadframeworks_base-4a066c5c77109431f50806fc29179d28f1472871.zip
frameworks_base-4a066c5c77109431f50806fc29179d28f1472871.tar.gz
frameworks_base-4a066c5c77109431f50806fc29179d28f1472871.tar.bz2
Update SystemUI for sw600dp devices.
Devices between 600 and 719dp will now use the two-bar (phone) SystemUI layout, or something like it, derived from PhoneStatusBar. Devices above 720dp will use the system bar from TabletStatusBar. However, this distinction is not to be made based on dp, at least, not by the SystemUI; the goal is to drive most of this switch from the window manager. Therefore most of SystemUI's sw600dp resources have been folded into the main set of resources (renaming them to avoid collisions where appropriate). This allows SystemUI to choose which set of resources to use entirely by switching status bar components, entirely independent of Configuration. (For some resources, particularly around recents, it seemed more expeditious to keep relying on the device configuration, so those resources have been bumped up to sw720dp.) Bug: 6297838 Change-Id: I3f5414a6a718bdc83f51930d6878cdf97df48c9c
Diffstat (limited to 'packages/SystemUI/res/layout-port')
-rw-r--r--packages/SystemUI/res/layout-port/status_bar_recent_panel.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/SystemUI/res/layout-port/status_bar_recent_panel.xml b/packages/SystemUI/res/layout-port/status_bar_recent_panel.xml
index 73c3da5..216dcb0 100644
--- a/packages/SystemUI/res/layout-port/status_bar_recent_panel.xml
+++ b/packages/SystemUI/res/layout-port/status_bar_recent_panel.xml
@@ -20,9 +20,12 @@
<com.android.systemui.recent.RecentsPanelView
xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
android:id="@+id/recents_root"
android:layout_height="match_parent"
- android:layout_width="match_parent">
+ android:layout_width="match_parent"
+ systemui:recentItemLayout="@layout/status_bar_recent_item"
+ >
<FrameLayout
android:id="@+id/recents_bg_protect"