Disable stubby PIN pad unless it's a small device.
The PIN pad now uses small keys in landscape mode (you can reach the bouncer via the camera) so the PIN pad actually fits on screen. This CL disables it for screens which have sufficient screen real-estate to show the full PIN pad. Example on small landscape screen: https://screenshot.googleplex.com/4AtdnAxJqQscCKM Example on large landscape screen: https://screenshot.googleplex.com/9vH5Zwf9XRSM6fK Test: Manually verified, see screenshots. Bug: 197748884 Change-Id: I3f7699aa6a72f733c4b49b50ff0998cc9cd6f1d3
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2021 The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Don't use the smaller PIN pad keys if we have the screen space to support it. -->
|
||||
<string name="num_pad_key_ratio">1.0</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user