Add a mic key to tablet keyboard tentatively for implementation

Bug: 3253559
Change-Id: Iba0b7488e112d5f136f6c1a7bfbeab0dac298d54
This commit is contained in:
Tadashi G. Takaoka 2010-12-07 14:06:32 +09:00
parent 292faee8ba
commit 2ff2a0410f
7 changed files with 27 additions and 1 deletions

View file

@ -50,7 +50,6 @@
latin:keyIcon="@drawable/sym_keyboard_return_holo"
latin:iconPreview="@drawable/sym_keyboard_feedback_return"
latin:parentStyle="functionalKeyStyle" />
1
<key-style
latin:styleName="spaceKeyStyle"
latin:codes="@integer/key_space"
@ -69,6 +68,12 @@
latin:keyOutputText=";-) "
latin:keyHintIcon="@drawable/hint_popup_holo"
latin:popupKeyboard="@xml/popup_smileys" />
<key-style
latin:styleName="micKeyStyle"
latin:codes="@integer/key_voice"
latin:keyIcon="@drawable/sym_keyboard_mic"
latin:iconPreview="@drawable/sym_keyboard_feedback_mic"
latin:parentStyle="functionalKeyStyle" />
</case>
<case
latin:colorScheme="black"
@ -113,6 +118,12 @@
latin:keyOutputText=";-) "
latin:keyHintIcon="@drawable/hint_popup_holo"
latin:popupKeyboard="@xml/popup_smileys" />
<key-style
latin:styleName="micKeyStyle"
latin:codes="@integer/key_voice"
latin:keyIcon="@drawable/sym_bkeyboard_mic"
latin:iconPreview="@drawable/sym_keyboard_feedback_mic"
latin:parentStyle="functionalKeyStyle" />
</case>
</switch>
<key-style

View file

@ -128,6 +128,9 @@
latin:keyLabel="0" />
<Key
latin:keyLabel="#" />
<Key
latin:keyStyle="micKeyStyle"
latin:keyWidth="8.042%p" />
<!-- There is an empty area bellow the "Enter" key and right of the "#" key. To ignore
the touch event on the area, "#" is intentionally not marked as a right edge key. -->
</Row>

View file

@ -136,6 +136,9 @@
latin:keyStyle="num0KeyStyle" />
<Key
latin:keyStyle="numPoundKeyStyle" />
<Key
latin:keyStyle="micKeyStyle"
latin:keyWidth="8.042%p" />
<!-- There is an empty area bellow the "Enter" key and right of the "#" key. To ignore
the touch event on the area, "#" is intentionally not marked as a right edge key. -->
</Row>

View file

@ -148,6 +148,9 @@
latin:keyStyle="num0KeyStyle" />
<Key
latin:keyStyle="numPoundKeyStyle" />
<Key
latin:keyStyle="micKeyStyle"
latin:keyWidth="8.042%p" />
<!-- There is an empty area bellow the "Enter" key and right of the "#" key. To ignore
the touch event on the area, "#" is intentionally not marked as a right edge key. -->
</Row>

View file

@ -104,5 +104,7 @@
latin:popupCharacters="_" />
</default>
</switch>
<Key
latin:keyStyle="micKeyStyle" />
</Row>
</merge>

View file

@ -178,5 +178,7 @@
latin:popupCharacters="“”«»˝" />
<Key
latin:keyLabel="_" />
<Key
latin:keyStyle="micKeyStyle" />
</Row>
</Keyboard>

View file

@ -142,5 +142,7 @@
<Key
latin:keyStyle="spaceKeyStyle"
latin:keyWidth="37.454%p" />
<Key
latin:keyStyle="micKeyStyle" />
</Row>
</Keyboard>