am dfeb0147
: Revert "Revert "Tune number letter size of Material keyboard""
* commit 'dfeb01472626b4dc86b7825169b9940c1c8eb58c': Revert "Revert "Tune number letter size of Material keyboard""
This commit is contained in:
commit
056a8bee6f
9 changed files with 34 additions and 20 deletions
|
@ -43,10 +43,12 @@
|
|||
|
||||
<fraction name="config_key_preview_text_ratio">90%</fraction>
|
||||
<fraction name="config_key_letter_ratio">65%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio">74%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio_holo">74%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio_lxx">90%</fraction>
|
||||
<fraction name="config_key_label_ratio">40%</fraction>
|
||||
<fraction name="config_key_hint_letter_ratio">30%</fraction>
|
||||
<fraction name="config_key_hint_label_ratio">52%</fraction>
|
||||
<fraction name="config_key_hint_label_ratio_holo">52%</fraction>
|
||||
<fraction name="config_key_hint_label_ratio_lxx">30%</fraction>
|
||||
<fraction name="config_key_shifted_letter_hint_ratio">40%</fraction>
|
||||
<fraction name="config_language_on_spacebar_text_ratio">40.000%</fraction>
|
||||
|
||||
|
|
|
@ -33,10 +33,12 @@
|
|||
<fraction name="config_key_horizontal_gap_holo">0.9%p</fraction>
|
||||
|
||||
<fraction name="config_key_letter_ratio">50%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio">48%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio_holo">48%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio_lxx">60%</fraction>
|
||||
<fraction name="config_key_label_ratio">32%</fraction>
|
||||
<fraction name="config_key_hint_letter_ratio">23%</fraction>
|
||||
<fraction name="config_key_hint_label_ratio">34%</fraction>
|
||||
<fraction name="config_key_hint_label_ratio_holo">34%</fraction>
|
||||
<fraction name="config_key_hint_label_ratio_lxx">20%</fraction>
|
||||
<fraction name="config_key_shifted_letter_hint_ratio">29%</fraction>
|
||||
<fraction name="config_language_on_spacebar_text_ratio">30.0%</fraction>
|
||||
<dimen name="config_key_shifted_letter_hint_padding">4dp</dimen>
|
||||
|
|
|
@ -45,10 +45,12 @@
|
|||
<dimen name="config_key_preview_height">94.5dp</dimen>
|
||||
<fraction name="config_key_preview_text_ratio">50%</fraction>
|
||||
<fraction name="config_key_letter_ratio">42%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio">45%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio_holo">45%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio_lxx">60%</fraction>
|
||||
<fraction name="config_key_label_ratio">25%</fraction>
|
||||
<fraction name="config_key_hint_letter_ratio">23%</fraction>
|
||||
<fraction name="config_key_hint_label_ratio">28%</fraction>
|
||||
<fraction name="config_key_hint_label_ratio_holo">28%</fraction>
|
||||
<fraction name="config_key_hint_label_ratio_lxx">20%</fraction>
|
||||
<fraction name="config_key_shifted_letter_hint_ratio">22%</fraction>
|
||||
<fraction name="config_language_on_spacebar_text_ratio">28.0%</fraction>
|
||||
<dimen name="config_key_hint_letter_padding">3dp</dimen>
|
||||
|
|
|
@ -35,10 +35,12 @@
|
|||
|
||||
<dimen name="config_key_preview_height">107.1dp</dimen>
|
||||
<fraction name="config_key_letter_ratio">43%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio">42%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio_holo">42%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio_lxx">60%</fraction>
|
||||
<fraction name="config_key_label_ratio">28%</fraction>
|
||||
<fraction name="config_key_hint_letter_ratio">23%</fraction>
|
||||
<fraction name="config_key_hint_label_ratio">28%</fraction>
|
||||
<fraction name="config_key_hint_label_ratio_holo">28%</fraction>
|
||||
<fraction name="config_key_hint_label_ratio_lxx">20%</fraction>
|
||||
<fraction name="config_key_shifted_letter_hint_ratio">24%</fraction>
|
||||
<fraction name="config_language_on_spacebar_text_ratio">24.00%</fraction>
|
||||
|
||||
|
|
|
@ -43,10 +43,12 @@
|
|||
<dimen name="config_key_preview_height">94.5dp</dimen>
|
||||
<fraction name="config_key_preview_text_ratio">50%</fraction>
|
||||
<fraction name="config_key_letter_ratio">40%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio">42%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio_holo">42%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio_lxx">60%</fraction>
|
||||
<fraction name="config_key_label_ratio">28%</fraction>
|
||||
<fraction name="config_key_hint_letter_ratio">23%</fraction>
|
||||
<fraction name="config_key_hint_label_ratio">28%</fraction>
|
||||
<fraction name="config_key_hint_label_ratio_holo">28%</fraction>
|
||||
<fraction name="config_key_hint_label_ratio_lxx">20%</fraction>
|
||||
<fraction name="config_key_shifted_letter_hint_ratio">26%</fraction>
|
||||
<fraction name="config_language_on_spacebar_text_ratio">29.03%</fraction>
|
||||
<dimen name="config_key_hint_letter_padding">3dp</dimen>
|
||||
|
|
|
@ -47,10 +47,12 @@
|
|||
<dimen name="config_key_preview_height">80dp</dimen>
|
||||
<fraction name="config_key_preview_text_ratio">82%</fraction>
|
||||
<fraction name="config_key_letter_ratio">55%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio">65%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio_holo">65%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio_lxx">90%</fraction>
|
||||
<fraction name="config_key_label_ratio">34%</fraction>
|
||||
<fraction name="config_key_hint_letter_ratio">25%</fraction>
|
||||
<fraction name="config_key_hint_label_ratio">44%</fraction>
|
||||
<fraction name="config_key_hint_label_ratio_holo">44%</fraction>
|
||||
<fraction name="config_key_hint_label_ratio_lxx">30%</fraction>
|
||||
<fraction name="config_key_shifted_letter_hint_ratio">35%</fraction>
|
||||
<fraction name="config_language_on_spacebar_text_ratio">33.735%</fraction>
|
||||
<dimen name="config_key_hint_letter_padding">1dp</dimen>
|
||||
|
|
|
@ -38,13 +38,11 @@
|
|||
<!-- TODO: Apply default {@link KeyboardTheme} to {@link InputTestBase} and remove this. -->
|
||||
<item name="keyBackground">@drawable/btn_keyboard_key_klp</item>
|
||||
<item name="keyLetterSize">@fraction/config_key_letter_ratio</item>
|
||||
<item name="keyLargeLetterRatio">@fraction/config_key_large_letter_ratio</item>
|
||||
<item name="keyLargeLetterRatio">@fraction/config_key_large_letter_ratio_holo</item>
|
||||
<item name="keyLabelSize">@fraction/config_key_label_ratio</item>
|
||||
<item name="keyHintLetterRatio">@fraction/config_key_hint_letter_ratio</item>
|
||||
<item name="keyHintLabelRatio">@fraction/config_key_hint_label_ratio</item>
|
||||
<item name="keyHintLabelRatio">@fraction/config_key_hint_label_ratio_holo</item>
|
||||
<item name="keyShiftedLetterHintRatio">@fraction/config_key_shifted_letter_hint_ratio</item>
|
||||
<item name="keyLabelOffCenterRatio">-175%</item>
|
||||
<item name="keyHintLabelOffCenterRatio">200%</item>
|
||||
<item name="keyTypeface">normal</item>
|
||||
<!-- A negative value to disable key text shadow layer. -->
|
||||
<item name="keyTextShadowRadius">-1.0</item>
|
||||
|
|
|
@ -25,8 +25,10 @@
|
|||
parent="KeyboardView"
|
||||
>
|
||||
<item name="keyTypeface">bold</item>
|
||||
<item name="keyLargeLetterRatio">@fraction/config_key_large_letter_ratio</item>
|
||||
<item name="keyHintLabelRatio">@fraction/config_key_hint_label_ratio</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>
|
||||
|
|
|
@ -25,8 +25,10 @@
|
|||
parent="KeyboardView"
|
||||
>
|
||||
<item name="keyTypeface">normal</item>
|
||||
<item name="keyLargeLetterRatio">@fraction/config_key_large_letter_ratio</item>
|
||||
<item name="keyHintLabelRatio">@fraction/config_key_hint_label_ratio</item>
|
||||
<item name="keyLargeLetterRatio">@fraction/config_key_large_letter_ratio_lxx</item>
|
||||
<item name="keyLabelOffCenterRatio">-100%</item>
|
||||
<item name="keyHintLabelRatio">@fraction/config_key_hint_label_ratio_lxx</item>
|
||||
<item name="keyHintLabelOffCenterRatio">400%</item>
|
||||
<item name="spacebarIconWidthRatio">0.9</item>
|
||||
<!-- No popup hint letter -->
|
||||
<item name="keyPopupHintLetter"></item>
|
||||
|
|
Loading…
Reference in a new issue