Xml文件  |  42行  |  1.76 KB

<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2014, 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">
    <!-- LXX KeyboardView theme (LXX_Light and LXX_Dark) -->
    <style
        name="KeyboardView.LXX"
        parent="KeyboardView"
    >
        <item name="keyTypeface">normal</item>
        <item name="keyLetterSize">@fraction/config_key_letter_ratio_lxx</item>
        <item name="keyLabelSize">@fraction/config_key_label_ratio_lxx</item>
        <item name="keyHintLetterRatio">@fraction/config_key_hint_letter_ratio_lxx</item>
        <item name="keyShiftedLetterHintRatio">@fraction/config_key_shifted_letter_hint_ratio_lxx</item>
        <item name="keyLargeLetterRatio">@fraction/config_key_large_letter_ratio_lxx</item>
        <item name="keyLabelOffCenterRatio">-80%</item>
        <item name="keyHintLabelRatio">@fraction/config_key_hint_label_ratio_lxx</item>
        <item name="keyHintLabelOffCenterRatio">300%</item>
        <item name="keyLabelFlags">alignHintLabelToBottom</item>
        <item name="spacebarIconWidthRatio">0.9</item>
        <!-- No popup hint letter -->
        <item name="keyPopupHintLetter"></item>
    </style>
</resources>