Merge "Customize AuthCredentialPatternContainerStyle for F10" into tm-qpr-dev
This commit is contained in:
commit
f72f2a3b51
3 changed files with 55 additions and 0 deletions
|
@ -0,0 +1,23 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
* Copyright (c) 2023, 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>
|
||||||
|
<!-- Auth credential PIN/PATTERN/PASSWORD -->
|
||||||
|
<dimen name="biometric_auth_pattern_view_size">248dp</dimen>
|
||||||
|
<dimen name="biometric_auth_pattern_view_max_size">348dp</dimen>
|
||||||
|
</resources>
|
|
@ -0,0 +1,28 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2023 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:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
|
<style name="AuthCredentialPatternContainerStyle">
|
||||||
|
<item name="android:gravity">center</item>
|
||||||
|
<item name="android:maxHeight">@dimen/biometric_auth_pattern_view_max_size</item>
|
||||||
|
<item name="android:maxWidth">@dimen/biometric_auth_pattern_view_max_size</item>
|
||||||
|
<item name="android:minHeight">@dimen/biometric_auth_pattern_view_size</item>
|
||||||
|
<item name="android:minWidth">@dimen/biometric_auth_pattern_view_size</item>
|
||||||
|
<item name="android:paddingVertical">40dp</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
</resources>
|
|
@ -23,4 +23,8 @@
|
||||||
|
|
||||||
<!-- Location on the screen of the center of the physical fingerprint sensor -->
|
<!-- Location on the screen of the center of the physical fingerprint sensor -->
|
||||||
<dimen name="physical_fingerprint_sensor_center_screen_location_x">2208px</dimen>
|
<dimen name="physical_fingerprint_sensor_center_screen_location_x">2208px</dimen>
|
||||||
|
|
||||||
|
<!-- Lock pattern view size, align sysui biometric_auth_pattern_view_size -->
|
||||||
|
<dimen name="biometric_auth_pattern_view_size">298dp</dimen>
|
||||||
|
<dimen name="biometric_auth_pattern_view_max_size">348dp</dimen>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue