| <?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> |
| <!-- This needs to be specified in an integer, rather than a style, as it can change in response |
| to device config changes, and we need to be able to change it without re-inflation. |
| |
| 0x50 = bottom, 0x01 = center_horizontal --> |
| <integer name="keyguard_host_view_gravity">0x51</integer> |
| |
| <!-- Gravity for the keyguard when it is in one-handed mode. This is ignored unless |
| can_use_one_handed_bouncer is true, _and_ the one handed bouncer is enabled in the device |
| config (com.android.internal.R.bool.config_enableOneHandedKeyguard) |
| |
| 0x50 = bottom, 0x01 = center_horizontal --> |
| <integer name="keyguard_host_view_one_handed_gravity">0x51</integer> |
| |
| <!-- Invisibility to use for the date & weather view when it is disabled by a clock --> |
| <integer name="keyguard_date_weather_view_invisibility">4</integer> |
| </resources> |