ef7124b6fd
The height of Google Keyboard is limited by maximum and minimum ratio to the display height. Because screen aspect ratio of some large tablet is close to 1:1, the height of the keyboard may become taller than expected. This CL lowers the minimum ratio to allow shorter height. This CL also increase text size of Material theme keyboard on tablet as well. Bug: 17050390 Change-Id: I87c5f49ce554950c525a1f31dfddfd1beb3fafda
39 lines
1.7 KiB
XML
39 lines
1.7 KiB
XML
<?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">
|
|
<!-- Holo KeyboardView theme (ICS and KLP) -->
|
|
<style
|
|
name="KeyboardView.Holo"
|
|
parent="KeyboardView"
|
|
>
|
|
<item name="keyTypeface">bold</item>
|
|
<item name="keyLetterSize">@fraction/config_key_letter_ratio_holo</item>
|
|
<item name="keyLabelSize">@fraction/config_key_label_ratio_holo</item>
|
|
<item name="keyHintLetterRatio">@fraction/config_key_hint_letter_ratio_holo</item>
|
|
<item name="keyShiftedLetterHintRatio">@fraction/config_key_shifted_letter_hint_ratio_holo</item>
|
|
<item name="keyLargeLetterRatio">@fraction/config_key_large_letter_ratio_holo</item>
|
|
<item name="keyLabelOffCenterRatio">-175%</item>
|
|
<item name="keyHintLabelRatio">@fraction/config_key_hint_label_ratio_holo</item>
|
|
<item name="keyHintLabelOffCenterRatio">200%</item>
|
|
<!-- U+2026: "…" HORIZONTAL ELLIPSIS -->
|
|
<item name="keyPopupHintLetter">…</item>
|
|
</style>
|
|
</resources>
|