am 5b9a1e59
: Fix key preview popup for Material theme
* commit '5b9a1e59bb7434cce740616c64e274a130a66ee6': Fix key preview popup for Material theme
Before Width: | Height: | Size: 774 B After Width: | Height: | Size: 937 B |
Before Width: | Height: | Size: 714 B After Width: | Height: | Size: 901 B |
Before Width: | Height: | Size: 1,020 B After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 974 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 517 B After Width: | Height: | Size: 580 B |
Before Width: | Height: | Size: 494 B After Width: | Height: | Size: 553 B |
Before Width: | Height: | Size: 658 B After Width: | Height: | Size: 716 B |
Before Width: | Height: | Size: 643 B After Width: | Height: | Size: 709 B |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 943 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.6 KiB |
|
@ -40,7 +40,9 @@
|
|||
<!-- config_more_keys_keyboard_key_height x -0.5 -->
|
||||
<dimen name="config_more_keys_keyboard_vertical_correction_holo">-22.4dp</dimen>
|
||||
<dimen name="config_key_preview_offset_holo">1.6dp</dimen>
|
||||
|
||||
<dimen name="config_key_preview_height_holo">80dp</dimen>
|
||||
<dimen name="config_key_preview_offset_lxx">43.6dp</dimen>
|
||||
<dimen name="config_key_preview_height_lxx">122dp</dimen>
|
||||
<fraction name="config_key_preview_text_ratio">90%</fraction>
|
||||
<fraction name="config_key_letter_ratio_holo">65%</fraction>
|
||||
<fraction name="config_key_letter_ratio_lxx">65%</fraction>
|
||||
|
|
|
@ -40,9 +40,7 @@
|
|||
<fraction name="config_key_horizontal_gap_holo">1.565%p</fraction>
|
||||
<!-- config_more_keys_keyboard_key_height x -0.5 -->
|
||||
<dimen name="config_more_keys_keyboard_vertical_correction_holo">-31.5dp</dimen>
|
||||
<dimen name="config_key_preview_offset_holo">8.0dp</dimen>
|
||||
|
||||
<dimen name="config_key_preview_height">94.5dp</dimen>
|
||||
<fraction name="config_key_preview_text_ratio">50%</fraction>
|
||||
<fraction name="config_key_letter_ratio_holo">42%</fraction>
|
||||
<fraction name="config_key_letter_ratio_lxx">50%</fraction>
|
||||
|
|
|
@ -29,11 +29,9 @@
|
|||
<fraction name="config_keyboard_bottom_padding_holo">0.0%p</fraction>
|
||||
<fraction name="config_key_vertical_gap_holo">3.690%p</fraction>
|
||||
<fraction name="config_key_horizontal_gap_holo">1.030%p</fraction>
|
||||
<dimen name="config_key_preview_offset_holo">8.0dp</dimen>
|
||||
|
||||
<dimen name="config_more_keys_keyboard_key_height">81.9dp</dimen>
|
||||
|
||||
<dimen name="config_key_preview_height">107.1dp</dimen>
|
||||
<fraction name="config_key_letter_ratio_holo">43%</fraction>
|
||||
<fraction name="config_key_letter_ratio_lxx">50%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio_holo">42%</fraction>
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
<fraction name="config_key_horizontal_gap_holo">1.066%p</fraction>
|
||||
<!-- config_more_keys_keyboard_key_height x -0.5 -->
|
||||
<dimen name="config_more_keys_keyboard_vertical_correction_holo">-31.5dp</dimen>
|
||||
<dimen name="config_key_preview_offset_holo">8.0dp</dimen>
|
||||
|
||||
<dimen name="config_more_keys_keyboard_key_height">63.0dp</dimen>
|
||||
<dimen name="config_more_keys_keyboard_key_horizontal_padding">12dp</dimen>
|
||||
|
@ -40,7 +39,6 @@
|
|||
<!-- config_more_keys_keyboard_key_height x 1.2 -->
|
||||
<dimen name="config_more_keys_keyboard_slide_allowance">98.3dp</dimen>
|
||||
|
||||
<dimen name="config_key_preview_height">94.5dp</dimen>
|
||||
<fraction name="config_key_preview_text_ratio">50%</fraction>
|
||||
<fraction name="config_key_letter_ratio_holo">40%</fraction>
|
||||
<fraction name="config_key_letter_ratio_lxx">50%</fraction>
|
||||
|
|
|
@ -43,8 +43,9 @@
|
|||
<!-- config_more_keys_keyboard_key_height x -0.5 -->
|
||||
<dimen name="config_more_keys_keyboard_vertical_correction_holo">-26.4dp</dimen>
|
||||
<dimen name="config_key_preview_offset_holo">8.0dp</dimen>
|
||||
|
||||
<dimen name="config_key_preview_height">80dp</dimen>
|
||||
<dimen name="config_key_preview_height_holo">80dp</dimen>
|
||||
<dimen name="config_key_preview_offset_lxx">50.0dp</dimen>
|
||||
<dimen name="config_key_preview_height_lxx">122dp</dimen>
|
||||
<fraction name="config_key_preview_text_ratio">82%</fraction>
|
||||
<fraction name="config_key_letter_ratio_holo">55%</fraction>
|
||||
<fraction name="config_key_letter_ratio_lxx">55%</fraction>
|
||||
|
|
|
@ -75,7 +75,6 @@
|
|||
<item name="keyRepeatInterval">@integer/config_key_repeat_interval</item>
|
||||
<item name="longPressShiftLockTimeout">@integer/config_longpress_shift_lock_timeout</item>
|
||||
<item name="ignoreAltCodeKeyTimeout">@integer/config_ignore_alt_code_key_timeout</item>
|
||||
<item name="keyPreviewHeight">@dimen/config_key_preview_height</item>
|
||||
<!-- TODO: consolidate key preview linger timeout with the key preview animation parameters. -->
|
||||
<item name="keyPreviewLingerTimeout">@integer/config_key_preview_linger_timeout</item>
|
||||
<item name="moreKeysKeyboardLayout">@layout/more_keys_keyboard</item>
|
||||
|
|
|
@ -60,6 +60,7 @@
|
|||
parent="KeyboardView.ICS"
|
||||
>
|
||||
<item name="keyPreviewBackground">@drawable/keyboard_key_feedback_ics</item>
|
||||
<item name="keyPreviewHeight">@dimen/config_key_preview_height_holo</item>
|
||||
<item name="keyPreviewOffset">@dimen/config_key_preview_offset_holo</item>
|
||||
<item name="keyPreviewShowUpAnimator">@anim/key_preview_show_up_holo</item>
|
||||
<item name="keyPreviewDismissAnimator">@anim/key_preview_dismiss_holo</item>
|
||||
|
|
|
@ -60,6 +60,7 @@
|
|||
parent="KeyboardView.KLP"
|
||||
>
|
||||
<item name="keyPreviewBackground">@drawable/keyboard_key_feedback_klp</item>
|
||||
<item name="keyPreviewHeight">@dimen/config_key_preview_height_holo</item>
|
||||
<item name="keyPreviewOffset">@dimen/config_key_preview_offset_holo</item>
|
||||
<item name="keyPreviewShowUpAnimator">@anim/key_preview_show_up_holo</item>
|
||||
<item name="keyPreviewDismissAnimator">@anim/key_preview_dismiss_holo</item>
|
||||
|
|
|
@ -60,7 +60,8 @@
|
|||
>
|
||||
<item name="moreKeysKeyboardForActionLayout">@layout/more_keys_keyboard_for_action_lxx</item>
|
||||
<item name="keyPreviewBackground">@drawable/keyboard_key_feedback_lxx_dark</item>
|
||||
<item name="keyPreviewOffset">@dimen/config_key_preview_offset_holo</item>
|
||||
<item name="keyPreviewHeight">@dimen/config_key_preview_height_lxx</item>
|
||||
<item name="keyPreviewOffset">@dimen/config_key_preview_offset_lxx</item>
|
||||
<item name="keyPreviewShowUpAnimator">@anim/key_preview_show_up_lxx</item>
|
||||
<item name="keyPreviewDismissAnimator">@anim/key_preview_dismiss_lxx</item>
|
||||
<item name="gestureFloatingPreviewTextColor">@color/auto_correct_color_lxx_dark</item>
|
||||
|
|
|
@ -60,7 +60,8 @@
|
|||
>
|
||||
<item name="moreKeysKeyboardForActionLayout">@layout/more_keys_keyboard_for_action_lxx</item>
|
||||
<item name="keyPreviewBackground">@drawable/keyboard_key_feedback_lxx_light</item>
|
||||
<item name="keyPreviewOffset">@dimen/config_key_preview_offset_holo</item>
|
||||
<item name="keyPreviewHeight">@dimen/config_key_preview_height_lxx</item>
|
||||
<item name="keyPreviewOffset">@dimen/config_key_preview_offset_lxx</item>
|
||||
<item name="keyPreviewShowUpAnimator">@anim/key_preview_show_up_lxx</item>
|
||||
<item name="keyPreviewDismissAnimator">@anim/key_preview_dismiss_lxx</item>
|
||||
<item name="gestureFloatingPreviewTextColor">@color/auto_correct_color_lxx_light</item>
|
||||
|
|