am 46941882: Tune mini keyboard vertical correction to match with key height

Merge commit '46941882b2c3f7467ce3d77be6948cfa7aafe548' into gingerbread-plus-aosp

* commit '46941882b2c3f7467ce3d77be6948cfa7aafe548':
  Tune mini keyboard vertical correction to match with key height
This commit is contained in:
Tadashi G. Takaoka 2010-09-28 20:33:53 -07:00 committed by Android Git Automerger
commit 0325360d32
3 changed files with 7 additions and 3 deletions

View file

@ -36,6 +36,6 @@
latin:keyBackground="@drawable/btn_keyboard_key_gingerbread_popup"
latin:keyHysteresisDistance="0dip"
latin:verticalCorrection="-20dip"
latin:verticalCorrection="@dimen/mini_keyboard_vertical_correction"
/>
</LinearLayout>

View file

@ -24,6 +24,8 @@
<dimen name="candidate_strip_fading_edge_length">63dip</dimen>
<dimen name="spacebar_vertical_correction">2dip</dimen>
<!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
<!-- key_height * 1.7 -->
<!-- key_height x 1.7 -->
<dimen name="mini_keyboard_slide_allowance">79.9dip</dimen>
<!-- -key_height x 1.0 -->
<dimen name="mini_keyboard_vertical_correction">-47dip</dimen>
</resources>

View file

@ -29,6 +29,8 @@
<dimen name="max_height_for_fullscreen">2.5in</dimen>
<dimen name="key_text_size">22sp</dimen>
<!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
<!-- key_height * 1.7 -->
<!-- key_height x 1.7 -->
<dimen name="mini_keyboard_slide_allowance">91.8dip</dimen>
<!-- -key_height x 1.0 -->
<dimen name="mini_keyboard_vertical_correction">-54dip</dimen>
</resources>