Tweak vertical corrections for more keys in the "ICS" theme

Bug: 6129435
Change-Id: I3800a7a6926967c456e1b9b0dead94717063039a
main
Tadashi G. Takaoka 2012-03-07 18:34:15 +09:00
parent 65fe7f7994
commit 48f6321630
5 changed files with 9 additions and 0 deletions

View File

@ -57,6 +57,8 @@
<dimen name="key_preview_offset">0.08in</dimen> <dimen name="key_preview_offset">0.08in</dimen>
<dimen name="key_preview_offset_ics">0.01in</dimen> <dimen name="key_preview_offset_ics">0.01in</dimen>
<!-- popup_key_height x -0.5 -->
<dimen name="more_keys_keyboard_vertical_correction_ics">-0.140in</dimen>
<dimen name="suggestions_strip_height">36dip</dimen> <dimen name="suggestions_strip_height">36dip</dimen>
<dimen name="more_suggestions_row_height">36dip</dimen> <dimen name="more_suggestions_row_height">36dip</dimen>

View File

@ -65,6 +65,8 @@
<dimen name="key_preview_height_ics">15.0mm</dimen> <dimen name="key_preview_height_ics">15.0mm</dimen>
<dimen name="key_preview_offset_ics">0.05in</dimen> <dimen name="key_preview_offset_ics">0.05in</dimen>
<!-- popup_key_height x -0.5 -->
<dimen name="more_keys_keyboard_vertical_correction_ics">-5mm</dimen>
<dimen name="suggestions_strip_height">44dip</dimen> <dimen name="suggestions_strip_height">44dip</dimen>
<dimen name="more_suggestions_row_height">44dip</dimen> <dimen name="more_suggestions_row_height">44dip</dimen>

View File

@ -68,6 +68,8 @@
<dimen name="key_preview_height_ics">15.0mm</dimen> <dimen name="key_preview_height_ics">15.0mm</dimen>
<dimen name="key_preview_offset_ics">0.05in</dimen> <dimen name="key_preview_offset_ics">0.05in</dimen>
<!-- popup_key_height x -0.5 -->
<dimen name="more_keys_keyboard_vertical_correction_ics">-5mm</dimen>
<dimen name="suggestions_strip_height">44dip</dimen> <dimen name="suggestions_strip_height">44dip</dimen>
<dimen name="more_suggestions_row_height">44dip</dimen> <dimen name="more_suggestions_row_height">44dip</dimen>

View File

@ -77,6 +77,8 @@
<dimen name="key_preview_height_ics">80sp</dimen> <dimen name="key_preview_height_ics">80sp</dimen>
<dimen name="key_preview_offset_ics">0.05in</dimen> <dimen name="key_preview_offset_ics">0.05in</dimen>
<!-- popup_key_height x -0.5 -->
<dimen name="more_keys_keyboard_vertical_correction_ics">-0.165in</dimen>
<dimen name="suggestions_strip_height">40dip</dimen> <dimen name="suggestions_strip_height">40dip</dimen>
<dimen name="more_suggestions_key_horizontal_padding">12dip</dimen> <dimen name="more_suggestions_key_horizontal_padding">12dip</dimen>

View File

@ -335,6 +335,7 @@
> >
<item name="android:background">@null</item> <item name="android:background">@null</item>
<item name="keyBackground">@drawable/btn_keyboard_key_popup_ics</item> <item name="keyBackground">@drawable/btn_keyboard_key_popup_ics</item>
<item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction_ics</item>
</style> </style>
<style name="MoreKeysKeyboardPanelStyle.IceCreamSandwich"> <style name="MoreKeysKeyboardPanelStyle.IceCreamSandwich">
<item name="android:background">@drawable/keyboard_popup_panel_background_holo</item> <item name="android:background">@drawable/keyboard_popup_panel_background_holo</item>