OSDN Git Service

Lock screen message alignment
authorLucas Dupin <dupin@google.com>
Sat, 27 Jan 2018 02:09:30 +0000 (18:09 -0800)
committerLucas Dupin <dupin@google.com>
Sat, 27 Jan 2018 02:49:32 +0000 (02:49 +0000)
Fixes issue where lock screen message would be behind the
notification shade.

Test: visual
Change-Id: I4f75cfc4a8099f18465770195bb963e5f7e90de2
Fixes: 72419031

packages/SystemUI/res-keyguard/layout/keyguard_status_view.xml
packages/SystemUI/res-keyguard/values/dimens.xml

index eda8c69..faa2c17 100644 (file)
@@ -31,6 +31,7 @@
     <LinearLayout
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
+        android:layout_marginBottom="@dimen/widget_vertical_padding"
         android:orientation="vertical">
         <RelativeLayout
             android:id="@+id/keyguard_clock_container"
@@ -63,7 +64,6 @@
             <include layout="@layout/keyguard_status_area"
                 android:id="@+id/keyguard_status_area"
                 android:layout_marginTop="20dp"
-                android:layout_marginBottom="@dimen/widget_vertical_padding"
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
                 android:layout_below="@id/clock_separator" />
index 5aca7f9..28a0935 100644 (file)
@@ -75,7 +75,7 @@
     <dimen name="password_char_padding">8dp</dimen>
 
     <!-- The vertical margin between the date and the owner info. -->
-    <dimen name="date_owner_info_margin">6dp</dimen>
+    <dimen name="date_owner_info_margin">2dp</dimen>
 
     <!-- The translation for disappearing security views after having solved them. -->
     <dimen name="disappear_y_translation">-32dp</dimen>