Add mini keyboard fo tab key in web layout

This change also re-orders punctuation mini keyboard.

Bug: 4315046
Change-Id: I567ea417fc8d3cb23dceac6965fa279e6beca970
main
Tadashi G. Takaoka 2011-04-20 14:51:32 +09:00
parent 95d9e47104
commit 708aa80492
3 changed files with 25 additions and 23 deletions

View File

@ -48,7 +48,8 @@
<string name="alternates_for_currency_euro">¢,£,$,¥,₱</string> <string name="alternates_for_currency_euro">¢,£,$,¥,₱</string>
<string name="alternates_for_currency_pound">¢,$,€,¥,₱</string> <string name="alternates_for_currency_pound">¢,$,€,¥,₱</string>
<string name="alternates_for_smiley">":-)|:-) ,:-(|:-( ,;-)|;-) ,:-P|:-P ,=-O|=-O ,:-*|:-* ,:O|:O ,B-)|B-) ,:-$|:-$ ,:-!|:-! ,:-[|:-[ ,O:-)|O:-) ,:-\\\\\\\\|:-\\\\\\\\ ,:\'(|:\'( ,:-D|:-D "</string> <string name="alternates_for_smiley">":-)|:-) ,:-(|:-( ,;-)|;-) ,:-P|:-P ,=-O|=-O ,:-*|:-* ,:O|:O ,B-)|B-) ,:-$|:-$ ,:-!|:-! ,:-[|:-[ ,O:-)|O:-) ,:-\\\\\\\\|:-\\\\\\\\ ,:\'(|:\'( ,:-D|:-D "</string>
<string name="alternates_for_punctuation">":,/,&amp;,(,),-,+,;,\@,\',\",\?,!,\\,"</string> <string name="alternates_for_punctuation">"\?,!,\\,,:,-,\',\",(,),/,;,+,&amp;,\@"</string>
<string name="alternates_for_web_tab_punctuation">".,\?,!,\\,,:,-,\',\",(,),/,;,+,&amp;,\@"</string>
<string name="keylabel_for_popular_domain">".com"</string> <string name="keylabel_for_popular_domain">".com"</string>
<!-- popular web domains for the locale - most popular, displayed on the keyboard --> <!-- popular web domains for the locale - most popular, displayed on the keyboard -->
<string name="alternates_for_popular_domain">".net,.org,.gov,.edu"</string> <string name="alternates_for_popular_domain">".net,.org,.gov,.edu"</string>

View File

@ -45,6 +45,13 @@
latin:keyStyle="micKeyStyle" /> latin:keyStyle="micKeyStyle" />
</case> </case>
<!-- latin:hasVoiceKey="false" --> <!-- latin:hasVoiceKey="false" -->
<case
latin:mode="web"
>
<Key
latin:keyLabel="."
latin:keyStyle="settingsPopupStyle" />
</case>
<default> <default>
<Key <Key
latin:keyLabel="," latin:keyLabel=","

View File

@ -43,8 +43,10 @@
latin:mode="web" latin:mode="web"
> >
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyHintIcon="@drawable/hint_popup"
latin:keyWidth="10%p" /> latin:popupCharacters="@string/alternates_for_web_tab_punctuation"
latin:maxPopupKeyboardColumn="8"
latin:keyStyle="tabKeyStyle" />
</case> </case>
<default> <default>
<Key <Key
@ -83,28 +85,28 @@
latin:keyStyle="settingsKeyStyle" /> latin:keyStyle="settingsKeyStyle" />
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_f1" /> latin:keyboardLayout="@xml/kbd_qwerty_f1" />
<Key
latin:keyStyle="spaceKeyStyle"
latin:keyWidth="30%p" />
<switch> <switch>
<case <case
latin:mode="web" latin:mode="web"
> >
<Key <Key
latin:keyStyle="spaceKeyStyle" latin:keyHintIcon="@drawable/hint_popup"
latin:keyWidth="30%p" /> latin:popupCharacters="@string/alternates_for_web_tab_punctuation"
<Key latin:maxPopupKeyboardColumn="8"
latin:keyStyle="tabKeyStyle" /> latin:keyStyle="tabKeyStyle" />
</case> </case>
<default> <default>
<Key <Key
latin:keyStyle="spaceKeyStyle" latin:keyLabel="."
latin:keyWidth="30%p" /> latin:keyHintIcon="@drawable/hint_popup"
latin:popupCharacters="@string/alternates_for_punctuation"
latin:maxPopupKeyboardColumn="7"
latin:keyStyle="functionalKeyStyle" />
</default> </default>
</switch> </switch>
<Key
latin:keyLabel="."
latin:keyHintIcon="@drawable/hint_popup"
latin:popupCharacters="@string/alternates_for_punctuation"
latin:maxPopupKeyboardColumn="7"
latin:keyStyle="functionalKeyStyle" />
<switch> <switch>
<case <case
latin:mode="im" latin:mode="im"
@ -114,14 +116,6 @@
latin:keyWidth="25%p" latin:keyWidth="25%p"
latin:keyEdgeFlags="right" /> latin:keyEdgeFlags="right" />
</case> </case>
<case
latin:mode="web"
>
<Key
latin:keyStyle="returnKeyStyle"
latin:keyWidth="15%p"
latin:keyEdgeFlags="right" />
</case>
<default> <default>
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"