Skip to content

Commit ebdc5b8

Browse files
cwrenAndroid (Google) Code Review
authored andcommitted
enable touch feedback on notification title.
Bug: 6646294 Change-Id: I8ef6fa104dabe280a45258181aa2ed597e433fca
1 parent 9632189 commit ebdc5b8

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Copyright (C) 2012 The Android Open Source Project
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
16+
17+
<selector xmlns:android="http://schemas.android.com/apk/res/android">
18+
<item android:state_pressed="true" android:drawable="@*android:drawable/list_selector_pressed_holo_dark" />
19+
<item android:drawable="@*android:drawable/list_selector_disabled_holo_dark" />
20+
</selector>

packages/SystemUI/res/layout/system_bar_notification_panel_title.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
xmlns:android="http://schemas.android.com/apk/res/android"
1919
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
2020
android:id="@+id/title_area"
21-
android:background="@color/notification_panel_solid_background"
21+
android:background="@drawable/system_bar_notification_header_bg"
2222
android:layout_width="wrap_content"
2323
android:layout_height="wrap_content"
2424
android:clickable="true"

0 commit comments

Comments
 (0)