diff options
author | Chris Wren <cwren@android.com> | 2012-04-18 10:52:18 -0400 |
---|---|---|
committer | Chris Wren <cwren@android.com> | 2012-04-20 12:45:02 -0400 |
commit | 80a76276dc9440ffad30dc4c820eb7d65f4df368 (patch) | |
tree | e52ec3c07ead094f4c166e07061cb782d1a3fe36 /packages/SystemUI/res/layout/status_bar_notification_row.xml | |
parent | cd3e6e226474c98be56ca587168a908135d3073a (diff) | |
download | frameworks_base-80a76276dc9440ffad30dc4c820eb7d65f4df368.zip frameworks_base-80a76276dc9440ffad30dc4c820eb7d65f4df368.tar.gz frameworks_base-80a76276dc9440ffad30dc4c820eb7d65f4df368.tar.bz2 |
Add visual feedback for notification expandability.
Change-Id: I0b82a465a126a6d0ec6cf6af87dc56817765b995
Diffstat (limited to 'packages/SystemUI/res/layout/status_bar_notification_row.xml')
-rw-r--r-- | packages/SystemUI/res/layout/status_bar_notification_row.xml | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/packages/SystemUI/res/layout/status_bar_notification_row.xml b/packages/SystemUI/res/layout/status_bar_notification_row.xml index 275d652..e69cd8a 100644 --- a/packages/SystemUI/res/layout/status_bar_notification_row.xml +++ b/packages/SystemUI/res/layout/status_bar_notification_row.xml @@ -4,6 +4,15 @@ android:background="@*android:drawable/notification_bg" > + <View + android:id="@+id/top_glow" + android:alpha="0" + android:layout_width="match_parent" + android:layout_height="@dimen/notification_divider_height" + android:layout_gravity="top|center_horizontal" + android:background="@drawable/top_divider_glow" + /> + <Button android:id="@+id/veto" android:layout_width="48dp" @@ -19,6 +28,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/notification_divider_height" + android:layout_marginTop="@dimen/notification_divider_height" android:focusable="true" android:clickable="true" > @@ -31,10 +41,12 @@ </com.android.systemui.statusbar.LatestItemView> <View + android:id="@+id/bottom_glow" + android:alpha="0" android:layout_width="match_parent" android:layout_height="@dimen/notification_divider_height" - android:gravity="bottom" - android:background="@*android:drawable/notification_bg" + android:layout_gravity="bottom|center_horizontal" + android:background="@drawable/bottom_divider_glow" /> </FrameLayout> |