Merge "Add number password keyboard layout to phone"

main
Tadashi G. Takaoka 2011-05-27 09:09:41 -07:00 committed by Android (Google) Code Review
commit fd8245b3f2
1 changed files with 111 additions and 74 deletions

View File

@ -32,27 +32,62 @@
>
<include
latin:keyboardLayout="@xml/kbd_key_styles" />
<!-- TODO: Should add number password layout just like the xlarge layout does. -->
<include
latin:keyboardLayout="@xml/kbd_numkey_styles" />
<switch>
<case
latin:colorScheme="white"
latin:passwordInput="true"
>
<key-style
latin:styleName="numSpaceKeyStyle"
latin:code="@integer/key_space"
latin:keyIcon="@drawable/sym_keyboard_space"
latin:iconPreview="@drawable/sym_keyboard_feedback_space" />
</case>
<case
latin:colorScheme="black"
<Row
latin:rowEdgeFlags="top"
>
<key-style
latin:styleName="numSpaceKeyStyle"
latin:code="@integer/key_space"
latin:keyIcon="@drawable/sym_bkeyboard_space"
latin:iconPreview="@drawable/sym_keyboard_feedback_space" />
<Key
latin:keyStyle="num1KeyStyle"
latin:keyEdgeFlags="left" />
<Key
latin:keyStyle="num2KeyStyle" />
<Key
latin:keyStyle="num3KeyStyle" />
</Row>
<Row>
<Key
latin:keyStyle="num4KeyStyle"
latin:keyEdgeFlags="left" />
<Key
latin:keyStyle="num5KeyStyle" />
<Key
latin:keyStyle="num6KeyStyle" />
</Row>
<Row>
<Key
latin:keyStyle="num7KeyStyle"
latin:keyEdgeFlags="left" />
<Key
latin:keyStyle="num8KeyStyle" />
<Key
latin:keyStyle="num9KeyStyle" />
<Key
latin:keyStyle="deleteKeyStyle"
latin:keyWidth="20%p"
latin:keyEdgeFlags="right" />
</Row>
<Row
latin:rowEdgeFlags="bottom"
>
<Spacer
latin:horizontalGap="26.67%p" />
<Key
latin:keyStyle="num0KeyStyle" />
<Spacer
latin:horizontalGap="26.67%p" />
<Key
latin:keyStyle="returnKeyStyle"
latin:keyWidth="20%p"
latin:keyEdgeFlags="right" />
</Row>
</case>
</switch>
<!-- latin:passwordInput="false" -->
<default>
<Row
latin:rowEdgeFlags="top"
>
@ -111,4 +146,6 @@
latin:keyWidth="20%p"
latin:keyEdgeFlags="right" />
</Row>
</default>
</switch>
</Keyboard>