Support multiple screen size of Emoji keyboard

Bug: 10538430
Change-Id: Ic27b687fb2f8d3c3f2af6a886e55cc1d4e3fafb3
main
Satoshi Kataoka 2013-09-17 12:51:22 +09:00
parent 44220e7271
commit 1aae38a132
4 changed files with 28 additions and 0 deletions

View File

@ -62,4 +62,11 @@
<dimen name="gesture_floating_preview_text_offset">76dp</dimen> <dimen name="gesture_floating_preview_text_offset">76dp</dimen>
<dimen name="gesture_floating_preview_horizontal_padding">26dp</dimen> <dimen name="gesture_floating_preview_horizontal_padding">26dp</dimen>
<dimen name="gesture_floating_preview_vertical_padding">17dp</dimen> <dimen name="gesture_floating_preview_vertical_padding">17dp</dimen>
<!-- Emoji keyboard -->
<fraction name="emoji_keyboard_key_width">10%p</fraction>
<fraction name="emoji_keyboard_row_height">33%p</fraction>
<fraction name="emoji_keyboard_key_letter_size">95%p</fraction>
<integer name="emoji_keyboard_max_key_count">30</integer>
</resources> </resources>

View File

@ -88,4 +88,11 @@
<dimen name="gesture_floating_preview_horizontal_padding">28dp</dimen> <dimen name="gesture_floating_preview_horizontal_padding">28dp</dimen>
<dimen name="gesture_floating_preview_vertical_padding">19dp</dimen> <dimen name="gesture_floating_preview_vertical_padding">19dp</dimen>
<dimen name="gesture_floating_preview_round_radius">3dp</dimen> <dimen name="gesture_floating_preview_round_radius">3dp</dimen>
<!-- Emoji keyboard -->
<fraction name="emoji_keyboard_key_width">12.5%p</fraction>
<fraction name="emoji_keyboard_row_height">33%p</fraction>
<fraction name="emoji_keyboard_key_letter_size">85%p</fraction>
<integer name="emoji_keyboard_max_key_count">24</integer>
</resources> </resources>

View File

@ -63,4 +63,11 @@
<dimen name="gesture_floating_preview_text_offset">100dp</dimen> <dimen name="gesture_floating_preview_text_offset">100dp</dimen>
<dimen name="gesture_floating_preview_horizontal_padding">32dp</dimen> <dimen name="gesture_floating_preview_horizontal_padding">32dp</dimen>
<dimen name="gesture_floating_preview_vertical_padding">21dp</dimen> <dimen name="gesture_floating_preview_vertical_padding">21dp</dimen>
<!-- Emoji keyboard -->
<fraction name="emoji_keyboard_key_width">7.69%p</fraction>
<fraction name="emoji_keyboard_row_height">33%p</fraction>
<fraction name="emoji_keyboard_key_letter_size">75%p</fraction>
<integer name="emoji_keyboard_max_key_count">39</integer>
</resources> </resources>

View File

@ -88,4 +88,11 @@
<dimen name="gesture_floating_preview_horizontal_padding">26dp</dimen> <dimen name="gesture_floating_preview_horizontal_padding">26dp</dimen>
<dimen name="gesture_floating_preview_vertical_padding">17dp</dimen> <dimen name="gesture_floating_preview_vertical_padding">17dp</dimen>
<dimen name="gesture_floating_preview_round_radius">3dp</dimen> <dimen name="gesture_floating_preview_round_radius">3dp</dimen>
<!-- Emoji keyboard -->
<fraction name="emoji_keyboard_key_width">10%p</fraction>
<fraction name="emoji_keyboard_row_height">33%p</fraction>
<fraction name="emoji_keyboard_key_letter_size">85%p</fraction>
<integer name="emoji_keyboard_max_key_count">30</integer>
</resources> </resources>