Don't let KeyguardSliceView touch display borders

Parent layout doesn't respect layout margins, let's use paddings
instead.

Test: visual
Change-Id: Ie94dcd5c10c4fd217b112a78e7fa87656d67d088
Fixes: 115287119
This commit is contained in:
Lucas Dupin
2018-11-14 13:58:37 -08:00
parent 9f557739e1
commit 172e9b7928

View File

@@ -20,8 +20,8 @@
<!-- This is a view that shows general status information in Keyguard. -->
<com.android.keyguard.KeyguardSliceView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"