From 54e353a0aea9bedc587b928577d1f149a482cbf3 Mon Sep 17 00:00:00 2001 From: Lucas Dupin Date: Wed, 19 Oct 2022 14:43:11 -0700 Subject: [PATCH] Keep clock below other UI elements Test: atest KeyguardClockSwitchTest Test: manual Bug: 229771520 Change-Id: I224217e4b32dd96f21a0445411d0b2ac07c157ea --- .../layout/keyguard_status_view.xml | 1 + .../res/layout/status_bar_expanded.xml | 66 +++++++++---------- .../android/keyguard/KeyguardClockSwitch.java | 2 +- 3 files changed, 35 insertions(+), 34 deletions(-) diff --git a/packages/SystemUI/res-keyguard/layout/keyguard_status_view.xml b/packages/SystemUI/res-keyguard/layout/keyguard_status_view.xml index 16a1d944c4d39..647abee9a99b0 100644 --- a/packages/SystemUI/res-keyguard/layout/keyguard_status_view.xml +++ b/packages/SystemUI/res-keyguard/layout/keyguard_status_view.xml @@ -27,6 +27,7 @@ systemui:layout_constraintEnd_toEndOf="parent" systemui:layout_constraintTop_toTopOf="parent" android:layout_marginHorizontal="@dimen/status_view_margin_horizontal" + android:clipChildren="false" android:layout_width="0dp" android:layout_height="wrap_content"> - - - - - - - - - - - - - - + + + + + + + + + + + + + +