From 985c3f0d214b5d03dc3a7a90e9055b2c38ecd218 Mon Sep 17 00:00:00 2001 From: TYM Tsai Date: Fri, 3 May 2019 14:57:27 +0800 Subject: [PATCH] Adds the keyguard indication area overlays Bug: 130334691 Test: atest SystemUITests:KeyguardBottomAreaTest Change-Id: I2f40e02a960319ce433b54db6e1357401306013c --- .../res/layout/keyguard_bottom_area.xml | 41 ++++++++++++------- .../res/layout/left_docked_overlay.xml | 19 +++++++++ .../res/layout/right_docked_overlay.xml | 19 +++++++++ 3 files changed, 65 insertions(+), 14 deletions(-) create mode 100644 packages/SystemUI/res/layout/left_docked_overlay.xml create mode 100644 packages/SystemUI/res/layout/right_docked_overlay.xml diff --git a/packages/SystemUI/res/layout/keyguard_bottom_area.xml b/packages/SystemUI/res/layout/keyguard_bottom_area.xml index cdef09d73f775..2792a019f8d80 100644 --- a/packages/SystemUI/res/layout/keyguard_bottom_area.xml +++ b/packages/SystemUI/res/layout/keyguard_bottom_area.xml @@ -31,23 +31,36 @@ android:layout_height="wrap_content" android:layout_marginBottom="@dimen/keyguard_indication_margin_bottom" android:layout_gravity="bottom|center_horizontal" - android:orientation="vertical"> + android:orientation="horizontal"> - + - + android:layout_weight="1" + android:layout_gravity="center_vertical|center_horizontal" + android:orientation="vertical"> + + + + + + + + diff --git a/packages/SystemUI/res/layout/left_docked_overlay.xml b/packages/SystemUI/res/layout/left_docked_overlay.xml new file mode 100644 index 0000000000000..430143ca3bc28 --- /dev/null +++ b/packages/SystemUI/res/layout/left_docked_overlay.xml @@ -0,0 +1,19 @@ + + + + + diff --git a/packages/SystemUI/res/layout/right_docked_overlay.xml b/packages/SystemUI/res/layout/right_docked_overlay.xml new file mode 100644 index 0000000000000..430143ca3bc28 --- /dev/null +++ b/packages/SystemUI/res/layout/right_docked_overlay.xml @@ -0,0 +1,19 @@ + + + + +