Skip to content

Commit c71d406

Browse files
Jim MillerAndroid (Google) Code Review
authored andcommitted
Merge "Better layout for Face Unlock on 600dp tablet" into jb-mr1-dev
2 parents a56f8f7 + 85ab8e8 commit c71d406

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
android:id="@+id/app_widget_container"
3333
android:layout_width="match_parent"
3434
android:layout_height="0dip"
35-
android:layout_weight="1"
35+
android:layout_weight="0.4"
3636
android:visibility="gone">
3737

3838
<!-- TODO: Remove this once supported as a widget -->
@@ -44,7 +44,7 @@
4444
android:id="@+id/view_flipper"
4545
android:layout_width="@dimen/kg_security_view_width"
4646
android:layout_height="0dip"
47-
android:layout_weight="1"
47+
android:layout_weight="0.6"
4848
android:layout_gravity="center">
4949

5050
<include layout="@layout/keyguard_selector_view"/>

core/res/res/values-sw600dp/dimens.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
<!-- Size of lockscreen outerring on unsecure unlock LockScreen -->
4646
<dimen name="keyguard_lockscreen_outerring_diameter">364dp</dimen>
4747

48+
<!-- Height of FaceUnlock view in keyguard -->
49+
<dimen name="face_unlock_height">430dip</dimen>
50+
4851
<!-- target placement radius for GlowPadView. Should be 1/2 of outerring diameter. -->
4952
<dimen name="glowpadview_target_placement_radius">182dip</dimen>
5053

core/res/res/values/dimens.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@
193193
<!-- Padding on left margin of PIN text entry field to center it when del button is showing -->
194194
<dimen name="keyguard_lockscreen_pin_margin_left">40dip</dimen>
195195

196-
<!-- Height of FaceUnlock widget in keyguard -->
196+
<!-- Height of FaceUnlock view in keyguard -->
197197
<dimen name="face_unlock_height">330dip</dimen>
198198

199199
<!-- Minimum popup width for selecting an activity in ActivityChooserDialog/ActivityChooserView. -->

0 commit comments

Comments
 (0)