summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Wren <cwren@android.com>2012-06-14 05:47:08 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-06-14 05:47:08 -0700
commitc07dc74374d05cc35f73a933c980a0ef974a7b58 (patch)
tree45e6dede5a34b71ad135b3aa438a8eb09cb91a17
parenta54c01eccbb9256fd7bcecf7b2f398a7e2ef0041 (diff)
parentebdc5b81d63f925665fecdc1fcd25c47ab0cfd5b (diff)
downloadframeworks_base-c07dc74374d05cc35f73a933c980a0ef974a7b58.zip
frameworks_base-c07dc74374d05cc35f73a933c980a0ef974a7b58.tar.gz
frameworks_base-c07dc74374d05cc35f73a933c980a0ef974a7b58.tar.bz2
Merge "enable touch feedback on notification title." into jb-dev
-rw-r--r--packages/SystemUI/res/drawable/system_bar_notification_header_bg.xml20
-rw-r--r--packages/SystemUI/res/layout/system_bar_notification_panel_title.xml2
2 files changed, 21 insertions, 1 deletions
diff --git a/packages/SystemUI/res/drawable/system_bar_notification_header_bg.xml b/packages/SystemUI/res/drawable/system_bar_notification_header_bg.xml
new file mode 100644
index 0000000..85f1ea2
--- /dev/null
+++ b/packages/SystemUI/res/drawable/system_bar_notification_header_bg.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@*android:drawable/list_selector_pressed_holo_dark" />
+ <item android:drawable="@*android:drawable/list_selector_disabled_holo_dark" />
+</selector>
diff --git a/packages/SystemUI/res/layout/system_bar_notification_panel_title.xml b/packages/SystemUI/res/layout/system_bar_notification_panel_title.xml
index afe3b49..480d979 100644
--- a/packages/SystemUI/res/layout/system_bar_notification_panel_title.xml
+++ b/packages/SystemUI/res/layout/system_bar_notification_panel_title.xml
@@ -18,7 +18,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
android:id="@+id/title_area"
- android:background="@color/notification_panel_solid_background"
+ android:background="@drawable/system_bar_notification_header_bg"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="true"