diff options
| author | 2012-06-13 13:35:43 -0400 | |
|---|---|---|
| committer | 2012-06-13 12:10:55 -0700 | |
| commit | ebdc5b81d63f925665fecdc1fcd25c47ab0cfd5b (patch) | |
| tree | aad6b320e50c2a7a0bf8a3743fb93d6a451514cf | |
| parent | 963218905ab31ccd2cf7ff57d372b185624543a4 (diff) | |
enable touch feedback on notification title.
Bug: 6646294
Change-Id: I8ef6fa104dabe280a45258181aa2ed597e433fca
| -rw-r--r-- | packages/SystemUI/res/drawable/system_bar_notification_header_bg.xml | 20 | ||||
| -rw-r--r-- | packages/SystemUI/res/layout/system_bar_notification_panel_title.xml | 2 |
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 000000000000..85f1ea215849 --- /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 afe3b49aef1a..480d979cd488 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" |