summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/drawable
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/drawable
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/drawable')
-rw-r--r--packages/SystemUI/res/drawable/system_bar_ticker_background.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/SystemUI/res/drawable/system_bar_ticker_background.xml b/packages/SystemUI/res/drawable/system_bar_ticker_background.xml
new file mode 100644
index 0000000..7cb64c0
--- /dev/null
+++ b/packages/SystemUI/res/drawable/system_bar_ticker_background.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<bitmap
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:tileMode="repeat"
+ android:src="@*android:drawable/notify_panel_notification_icon_bg"
+ />