From 629a2e72101bccbea15959b980795eb74438fcb9 Mon Sep 17 00:00:00 2001 From: Roman Birg Date: Mon, 1 Dec 2014 14:05:52 -0800 Subject: [PATCH 01/78] SystemUI: make clock and time clickable in statusbar Clicking clock opens alarms, clicking the date will open the calendar. Signed-off-by: Roman Birg Change-Id: I424d127e0605600b80e4f61621b58695712a6340 --- .../res/layout/status_bar_expanded_header.xml | 20 ++++++++++------ .../statusbar/phone/StatusBarHeaderView.java | 23 +++++++++++++++++++ 2 files changed, 36 insertions(+), 7 deletions(-) diff --git a/packages/SystemUI/res/layout/status_bar_expanded_header.xml b/packages/SystemUI/res/layout/status_bar_expanded_header.xml index 7ea91454d175a..0e3369830ffe4 100644 --- a/packages/SystemUI/res/layout/status_bar_expanded_header.xml +++ b/packages/SystemUI/res/layout/status_bar_expanded_header.xml @@ -98,6 +98,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/clock_collapsed_bottom_margin" + android:background="@drawable/ripple_drawable" android:layout_alignParentBottom="true"> - + + +