From 0bcaa27ceb1a0e3e32b7ce194d41d32637d1d5a6 Mon Sep 17 00:00:00 2001 From: Adrian Roos Date: Thu, 6 Apr 2017 15:39:22 -0700 Subject: [PATCH] AOD: More VisD updates - Change alpha for clock on AOD2 - Increase header bottom margin on ambient notification Fixes: 37089014 Bug: 30876804 Test: visual inspection Change-Id: If7ba1a51fdce3167129e8d8845bcb4a09b22a78d --- core/res/res/layout/notification_template_material_ambient.xml | 1 + .../SystemUI/src/com/android/keyguard/KeyguardStatusView.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/res/res/layout/notification_template_material_ambient.xml b/core/res/res/layout/notification_template_material_ambient.xml index 026bc6e5cb438..74f0e57c709ba 100644 --- a/core/res/res/layout/notification_template_material_ambient.xml +++ b/core/res/res/layout/notification_template_material_ambient.xml @@ -33,6 +33,7 @@ android:layout_gravity="top" android:layout_marginTop="@dimen/notification_content_margin_top" android:layout_marginBottom="@dimen/notification_action_list_height" + android:paddingTop="10dp" android:clipToPadding="false" android:orientation="vertical"> diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java b/packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java index 80b4da8e2acf8..b2b0ee463a975 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java @@ -301,7 +301,7 @@ public class KeyguardStatusView extends GridLayout { private void updateDozeVisibleViews() { for (View child : mVisibleInDoze) { - child.setAlpha(mDark && mPulsing ? 0.5f : 1); + child.setAlpha(mDark && mPulsing ? 0.8f : 1); } } }