Skip to content

Commit 757d0d8

Browse files
adampAndroid (Google) Code Review
authored andcommitted
Merge "Keyguard tablet/portrait fix for HUGE security views" into jb-mr1-lockscreen-dev
2 parents 40daf33 + 5ee6ba6 commit 757d0d8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

core/res/res/layout-sw600dp-port/keyguard_host_view.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
android:id="@+id/app_widget_container"
3939
android:layout_width="match_parent"
4040
android:layout_height="match_parent"
41-
androidprv:layout_centerWithinArea="0.55"
41+
androidprv:layout_centerWithinArea="0.5"
4242
androidprv:layout_childType="widget"
4343
androidprv:layout_maxWidth="480dp"
4444
androidprv:layout_maxHeight="480dp" />
@@ -52,8 +52,11 @@
5252

5353
<com.android.internal.policy.impl.keyguard.KeyguardSecurityContainer
5454
android:id="@+id/keyguard_security_container"
55-
android:layout_width="wrap_content"
56-
android:layout_height="wrap_content"
55+
android:layout_width="match_parent"
56+
android:layout_height="match_parent"
57+
androidprv:layout_maxWidth="@dimen/keyguard_security_width"
58+
androidprv:layout_maxHeight="@dimen/keyguard_security_height"
59+
androidprv:layout_centerWithinArea="0.5"
5760
androidprv:layout_childType="challenge"
5861
android:layout_gravity="center_horizontal|bottom">
5962
<com.android.internal.policy.impl.keyguard.KeyguardSecurityViewFlipper

0 commit comments

Comments
 (0)