Add punctuations letters to period key on tablet
Bug: 11918360 Change-Id: I5655c5703bfcb541c9ff4b7e0da2f9b8e14947d0
This commit is contained in:
parent
637ecce74c
commit
4d02aa4e8c
8 changed files with 390 additions and 432 deletions
|
@ -29,7 +29,7 @@
|
|||
<bool name="config_key_selection_by_dragging_finger">false</bool>
|
||||
<!-- Showing more keys keyboard, just above the touched point if true, aligned to the key if
|
||||
false -->
|
||||
<bool name="config_show_more_keys_keyboard_at_touched_point">true</bool>
|
||||
<bool name="config_show_more_keys_keyboard_at_touched_point">false</bool>
|
||||
|
||||
<!-- Preferable keyboard height in absolute scale: 48.0mm -->
|
||||
<!-- This config_default_keyboard_height value should match with keyboard-heights.xml -->
|
||||
|
|
|
@ -22,35 +22,12 @@
|
|||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||
>
|
||||
<switch>
|
||||
<case
|
||||
latin:keyboardLayoutSetElement="symbols"
|
||||
latin:mode="url"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel=":" />
|
||||
</case>
|
||||
<case
|
||||
latin:keyboardLayoutSetElement="symbols"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="\@" />
|
||||
</case>
|
||||
<!-- keyboardLayoutSetElement != "symbols" -->
|
||||
<case
|
||||
latin:mode="email"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="\@" />
|
||||
</case>
|
||||
<case
|
||||
latin:mode="url"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="/"
|
||||
latin:keyHintLabel=":"
|
||||
latin:moreKeys=":"
|
||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
||||
</case>
|
||||
<default>
|
||||
<Key
|
||||
latin:keyLabel="/" />
|
||||
|
|
|
@ -21,38 +21,18 @@
|
|||
<merge
|
||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||
>
|
||||
<switch>
|
||||
<case
|
||||
latin:mode="email|url"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel=","
|
||||
latin:keyHintLabel="-"
|
||||
latin:moreKeys="-"
|
||||
latin:backgroundType="functional"
|
||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
||||
<Key
|
||||
latin:keyLabel="."
|
||||
latin:keyHintLabel="_"
|
||||
latin:moreKeys="_"
|
||||
latin:backgroundType="functional"
|
||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
||||
</case>
|
||||
<default>
|
||||
<Key
|
||||
latin:keyLabel="!text/keylabel_for_tablet_comma"
|
||||
latin:keyHintLabel="!text/keyhintlabel_for_tablet_comma"
|
||||
latin:keyLabelFlags="hasPopupHint"
|
||||
latin:moreKeys="!text/more_keys_for_tablet_comma"
|
||||
latin:backgroundType="functional"
|
||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
||||
<Key
|
||||
latin:keyLabel="!text/keylabel_for_tablet_period"
|
||||
latin:keyHintLabel="!text/keyhintlabel_for_tablet_period"
|
||||
latin:keyLabelFlags="hasPopupHint"
|
||||
latin:moreKeys="!text/more_keys_for_tablet_period"
|
||||
latin:backgroundType="functional"
|
||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
||||
</default>
|
||||
</switch>
|
||||
<Key
|
||||
latin:keyLabel="!text/keylabel_for_tablet_comma"
|
||||
latin:keyHintLabel="!text/keyhintlabel_for_tablet_comma"
|
||||
latin:keyLabelFlags="hasPopupHint"
|
||||
latin:moreKeys="!text/more_keys_for_tablet_comma"
|
||||
latin:backgroundType="functional"
|
||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
||||
<Key
|
||||
latin:keyLabel="!text/keylabel_for_tablet_period"
|
||||
latin:keyHintLabel="!text/keyhintlabel_for_tablet_period"
|
||||
latin:keyLabelFlags="hasPopupHint"
|
||||
latin:moreKeys="!text/more_keys_for_tablet_period"
|
||||
latin:backgroundType="functional"
|
||||
latin:keyStyle="hasShiftedLetterHintStyle" />
|
||||
</merge>
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -72,7 +72,7 @@
|
|||
<string name="more_keys_for_l">l·l,ł</string>
|
||||
<!-- U+00B7: "·" MIDDLE DOT -->
|
||||
<string name="more_keys_for_punctuation">"!fixedColumnOrder!9,;,/,(,),#,·,!,\\,,\?,&,\\%,+,\",-,:,',\@"</string>
|
||||
<string name="more_keys_for_period">\?,·</string>
|
||||
<string name="more_keys_for_tablet_punctuation">"!fixedColumnOrder!8,;,/,(,),#,·,',\\,,&,\\%,+,\",-,:,\@"</string>
|
||||
<!-- U+00E7: "ç" LATIN SMALL LETTER C WITH CEDILLA -->
|
||||
<string name="keylabel_for_spanish_row2_10">ç</string>
|
||||
</resources>
|
||||
|
|
|
@ -88,7 +88,6 @@
|
|||
<string name="keyhintlabel_for_tablet_comma">"؟"</string>
|
||||
<string name="more_keys_for_tablet_comma">"!fixedColumnOrder!4,:,!,؟,؛,-,/,«|»,»|«"</string>
|
||||
<string name="keyhintlabel_for_period">"؟"</string>
|
||||
<string name="more_keys_for_period">"؟,\?"</string>
|
||||
<!-- U+FDFC: "﷼" RIAL SIGN -->
|
||||
<string name="keylabel_for_currency">﷼</string>
|
||||
<!-- U+061F: "؟" ARABIC QUESTION MARK
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
U+FB29: "﬩" HEBREW LETTER ALTERNATIVE PLUS SIGN -->
|
||||
<string name="more_keys_for_plus">±,﬩</string>
|
||||
<string name="more_keys_for_punctuation">"!fixedColumnOrder!8,;,/,(|),)|(,#,!,\\,,\?,&,\\%,+,\",-,:,',\@"</string>
|
||||
<string name="more_keys_for_tablet_punctuation">"!fixedColumnOrder!7,;,/,(|),)|(,#,',\\,,&,\\%,+,\",-,:,\@"</string>
|
||||
<!-- The all letters need to be mirrored are found at
|
||||
http://www.unicode.org/Public/6.1.0/ucd/BidiMirroring.txt -->
|
||||
<string name="more_keys_for_left_parenthesis">!fixedColumnOrder!3,<|>,{|},[|]</string>
|
||||
|
|
|
@ -84,6 +84,7 @@
|
|||
<string name="keylabel_for_currency">$</string>
|
||||
<string name="more_keys_for_currency">$,¢,€,£,¥,₱</string>
|
||||
<string name="more_keys_for_punctuation">"!fixedColumnOrder!8,;,/,(,),#,!,\\,,\?,&,\\%,+,\",-,:,',\@"</string>
|
||||
<string name="more_keys_for_tablet_punctuation">"!fixedColumnOrder!7,;,/,(,),#,',\\,,&,\\%,+,\",-,:,\@"</string>
|
||||
<!-- U+2020: "†" DAGGER
|
||||
U+2021: "‡" DOUBLE DAGGER
|
||||
U+2605: "★" BLACK STAR -->
|
||||
|
@ -171,8 +172,7 @@
|
|||
<string name="more_keys_for_period">!text/more_keys_for_punctuation</string>
|
||||
<string name="keylabel_for_tablet_period">.</string>
|
||||
<string name="keyhintlabel_for_tablet_period"></string>
|
||||
<!-- U+2026: "…" HORIZONTAL ELLIPSIS -->
|
||||
<string name="more_keys_for_tablet_period">…</string>
|
||||
<string name="more_keys_for_tablet_period">!text/more_keys_for_tablet_punctuation</string>
|
||||
<string name="keylabel_for_symbols_question">\?</string>
|
||||
<string name="keylabel_for_symbols_semicolon">;</string>
|
||||
<string name="keylabel_for_symbols_percent">%</string>
|
||||
|
|
Loading…
Reference in a new issue