1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2021 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17<resources> 18 <!-- This needs to be specified in an integer, rather than a style, as it can change in response 19 to device config changes, and we need to be able to change it without re-inflation. 20 21 0x50 = bottom, 0x01 = center_horizontal --> 22 <integer name="keyguard_host_view_gravity">0x51</integer> 23 24 <!-- Gravity for the keyguard when it is in one-handed mode. This is ignored unless 25 can_use_one_handed_bouncer is true, _and_ the one handed bouncer is enabled in the device 26 config (com.android.internal.R.bool.config_enableOneHandedKeyguard) 27 28 0x50 = bottom, 0x01 = center_horizontal --> 29 <integer name="keyguard_host_view_one_handed_gravity">0x51</integer> 30 31 <!-- Invisibility to use for the date & weather view when it is disabled by a clock --> 32 <integer name="keyguard_date_weather_view_invisibility">4</integer> 33</resources> 34