From 298a2a816af7337d6b2c8a916ef298d656786878 Mon Sep 17 00:00:00 2001 From: Daniel Sandler Date: Thu, 11 Aug 2011 16:13:22 -0400 Subject: Disable peeking at individual notifications. Now tapping anywhere on the notification/clock/status end of the system bar will bring up the notification panel. Swiping up anywhere in that region works as well. This change also adds visual touch feedback to the panel trigger area. Bug: 4723688 Change-Id: I5e24fea1231b798c41ddd48c0c42c283c92ebe65 --- .../status_bar_notification_area.xml | 13 +- .../systemui/statusbar/tablet/TabletStatusBar.java | 133 +++++++++++++-------- 2 files changed, 87 insertions(+), 59 deletions(-) diff --git a/packages/SystemUI/res/layout-sw600dp/status_bar_notification_area.xml b/packages/SystemUI/res/layout-sw600dp/status_bar_notification_area.xml index 17fa6537cb4a..c735dbd6efa4 100644 --- a/packages/SystemUI/res/layout-sw600dp/status_bar_notification_area.xml +++ b/packages/SystemUI/res/layout-sw600dp/status_bar_notification_area.xml @@ -24,6 +24,8 @@ android:layout_height="match_parent" android:layout_alignParentRight="true" android:orientation="horizontal" + android:background="?android:attr/listChoiceBackgroundIndicator" + android:clickable="true" > - @@ -88,7 +83,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="3dip" - android:layout_marginLeft="4dip" + android:layout_marginLeft="8dip" android:layout_marginRight="4dip" >