Use functional key background for action key with label
This CL also adds label_search_key string resources for consistency. Bug: 15135033 Change-Id: I81cae243e83a590ef56fe758a43c7184fc4159aamain
parent
630a24141e
commit
1f217dbd51
|
@ -29,6 +29,8 @@
|
||||||
<string name="label_done_key">Done</string>
|
<string name="label_done_key">Done</string>
|
||||||
<!-- Label for soft enter key when it performs SEND action. Must be short to fit on key. 5 chars or less is preferable. [CHAR LIMIT=7] -->
|
<!-- Label for soft enter key when it performs SEND action. Must be short to fit on key. 5 chars or less is preferable. [CHAR LIMIT=7] -->
|
||||||
<string name="label_send_key">Send</string>
|
<string name="label_send_key">Send</string>
|
||||||
|
<!-- Label for soft enter key when it performs SEARCH action. Must be short to fit on key. 5 chars or less is preferable. [CHAR LIMIT=7] -->
|
||||||
|
<string name="label_search_key">Search</string>
|
||||||
<!-- Label for "Pause" key of phone number keyboard. Must be short to fit on key. 5 chars or less is preferable. [CHAR LIMIT=7] -->
|
<!-- Label for "Pause" key of phone number keyboard. Must be short to fit on key. 5 chars or less is preferable. [CHAR LIMIT=7] -->
|
||||||
<string name="label_pause_key">Pause</string>
|
<string name="label_pause_key">Pause</string>
|
||||||
<!-- Label for "Wait" key of phone number keyboard. Must be short to fit on key. 5 chars or less is preferable. [CHAR LIMIT=7]-->
|
<!-- Label for "Wait" key of phone number keyboard. Must be short to fit on key. 5 chars or less is preferable. [CHAR LIMIT=7]-->
|
||||||
|
|
|
@ -131,7 +131,6 @@
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="enterKeyStyle"
|
latin:styleName="enterKeyStyle"
|
||||||
latin:keySpec="!text/label_go_key|!code/key_enter"
|
latin:keySpec="!text/label_go_key|!code/key_enter"
|
||||||
latin:backgroundType="action"
|
|
||||||
latin:parentStyle="defaultEnterKeyStyle" />
|
latin:parentStyle="defaultEnterKeyStyle" />
|
||||||
</case>
|
</case>
|
||||||
<case
|
<case
|
||||||
|
@ -150,7 +149,6 @@
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="enterKeyStyle"
|
latin:styleName="enterKeyStyle"
|
||||||
latin:keySpec="!text/label_next_key|!code/key_enter"
|
latin:keySpec="!text/label_next_key|!code/key_enter"
|
||||||
latin:backgroundType="action"
|
|
||||||
latin:parentStyle="defaultEnterKeyStyle" />
|
latin:parentStyle="defaultEnterKeyStyle" />
|
||||||
</case>
|
</case>
|
||||||
<case
|
<case
|
||||||
|
@ -169,7 +167,6 @@
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="enterKeyStyle"
|
latin:styleName="enterKeyStyle"
|
||||||
latin:keySpec="!text/label_previous_key|!code/key_enter"
|
latin:keySpec="!text/label_previous_key|!code/key_enter"
|
||||||
latin:backgroundType="action"
|
|
||||||
latin:parentStyle="defaultEnterKeyStyle" />
|
latin:parentStyle="defaultEnterKeyStyle" />
|
||||||
</case>
|
</case>
|
||||||
<case
|
<case
|
||||||
|
@ -188,7 +185,6 @@
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="enterKeyStyle"
|
latin:styleName="enterKeyStyle"
|
||||||
latin:keySpec="!text/label_done_key|!code/key_enter"
|
latin:keySpec="!text/label_done_key|!code/key_enter"
|
||||||
latin:backgroundType="action"
|
|
||||||
latin:parentStyle="defaultEnterKeyStyle" />
|
latin:parentStyle="defaultEnterKeyStyle" />
|
||||||
</case>
|
</case>
|
||||||
<case
|
<case
|
||||||
|
@ -207,6 +203,15 @@
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="enterKeyStyle"
|
latin:styleName="enterKeyStyle"
|
||||||
latin:keySpec="!text/label_send_key|!code/key_enter"
|
latin:keySpec="!text/label_send_key|!code/key_enter"
|
||||||
|
latin:parentStyle="defaultEnterKeyStyle" />
|
||||||
|
</case>
|
||||||
|
<case
|
||||||
|
latin:imeAction="actionSearch"
|
||||||
|
latin:isIconDefined="search_key"
|
||||||
|
>
|
||||||
|
<key-style
|
||||||
|
latin:styleName="enterKeyStyle"
|
||||||
|
latin:keySpec="!icon/search_key|!code/key_enter"
|
||||||
latin:backgroundType="action"
|
latin:backgroundType="action"
|
||||||
latin:parentStyle="defaultEnterKeyStyle" />
|
latin:parentStyle="defaultEnterKeyStyle" />
|
||||||
</case>
|
</case>
|
||||||
|
@ -215,8 +220,7 @@
|
||||||
>
|
>
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="enterKeyStyle"
|
latin:styleName="enterKeyStyle"
|
||||||
latin:keySpec="!icon/search_key|!code/key_enter"
|
latin:keySpec="!text/label_search_key|!code/key_enter"
|
||||||
latin:backgroundType="action"
|
|
||||||
latin:parentStyle="defaultEnterKeyStyle" />
|
latin:parentStyle="defaultEnterKeyStyle" />
|
||||||
</case>
|
</case>
|
||||||
<case
|
<case
|
||||||
|
@ -226,7 +230,6 @@
|
||||||
latin:styleName="enterKeyStyle"
|
latin:styleName="enterKeyStyle"
|
||||||
latin:keySpec="dummy_label|!code/key_enter"
|
latin:keySpec="dummy_label|!code/key_enter"
|
||||||
latin:keyLabelFlags="fromCustomActionLabel"
|
latin:keyLabelFlags="fromCustomActionLabel"
|
||||||
latin:backgroundType="action"
|
|
||||||
latin:parentStyle="defaultEnterKeyStyle" />
|
latin:parentStyle="defaultEnterKeyStyle" />
|
||||||
</case>
|
</case>
|
||||||
<!-- imeAction is either actionNone or actionUnspecified. -->
|
<!-- imeAction is either actionNone or actionUnspecified. -->
|
||||||
|
|
|
@ -298,7 +298,6 @@
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="enterKeyStyle"
|
latin:styleName="enterKeyStyle"
|
||||||
latin:keySpec="!text/label_go_key|!code/key_enter"
|
latin:keySpec="!text/label_go_key|!code/key_enter"
|
||||||
latin:backgroundType="action"
|
|
||||||
latin:parentStyle="defaultEnterKeyStyle" />
|
latin:parentStyle="defaultEnterKeyStyle" />
|
||||||
</case>
|
</case>
|
||||||
<case
|
<case
|
||||||
|
@ -317,7 +316,6 @@
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="enterKeyStyle"
|
latin:styleName="enterKeyStyle"
|
||||||
latin:keySpec="!text/label_next_key|!code/key_enter"
|
latin:keySpec="!text/label_next_key|!code/key_enter"
|
||||||
latin:backgroundType="action"
|
|
||||||
latin:parentStyle="defaultEnterKeyStyle" />
|
latin:parentStyle="defaultEnterKeyStyle" />
|
||||||
</case>
|
</case>
|
||||||
<case
|
<case
|
||||||
|
@ -336,7 +334,6 @@
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="enterKeyStyle"
|
latin:styleName="enterKeyStyle"
|
||||||
latin:keySpec="!text/label_previous_key|!code/key_enter"
|
latin:keySpec="!text/label_previous_key|!code/key_enter"
|
||||||
latin:backgroundType="action"
|
|
||||||
latin:parentStyle="defaultEnterKeyStyle" />
|
latin:parentStyle="defaultEnterKeyStyle" />
|
||||||
</case>
|
</case>
|
||||||
<case
|
<case
|
||||||
|
@ -355,7 +352,6 @@
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="enterKeyStyle"
|
latin:styleName="enterKeyStyle"
|
||||||
latin:keySpec="!text/label_done_key|!code/key_enter"
|
latin:keySpec="!text/label_done_key|!code/key_enter"
|
||||||
latin:backgroundType="action"
|
|
||||||
latin:parentStyle="defaultEnterKeyStyle" />
|
latin:parentStyle="defaultEnterKeyStyle" />
|
||||||
</case>
|
</case>
|
||||||
<case
|
<case
|
||||||
|
@ -374,6 +370,15 @@
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="enterKeyStyle"
|
latin:styleName="enterKeyStyle"
|
||||||
latin:keySpec="!text/label_send_key|!code/key_enter"
|
latin:keySpec="!text/label_send_key|!code/key_enter"
|
||||||
|
latin:parentStyle="defaultEnterKeyStyle" />
|
||||||
|
</case>
|
||||||
|
<case
|
||||||
|
latin:imeAction="actionSearch"
|
||||||
|
latin:isIconDefined="search_key"
|
||||||
|
>
|
||||||
|
<key-style
|
||||||
|
latin:styleName="enterKeyStyle"
|
||||||
|
latin:keySpec="!icon/search_key|!code/key_enter"
|
||||||
latin:backgroundType="action"
|
latin:backgroundType="action"
|
||||||
latin:parentStyle="defaultEnterKeyStyle" />
|
latin:parentStyle="defaultEnterKeyStyle" />
|
||||||
</case>
|
</case>
|
||||||
|
@ -382,8 +387,7 @@
|
||||||
>
|
>
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="enterKeyStyle"
|
latin:styleName="enterKeyStyle"
|
||||||
latin:keySpec="!icon/search_key|!code/key_enter"
|
latin:keySpec="!text/label_search_key|!code/key_enter"
|
||||||
latin:backgroundType="action"
|
|
||||||
latin:parentStyle="defaultEnterKeyStyle" />
|
latin:parentStyle="defaultEnterKeyStyle" />
|
||||||
</case>
|
</case>
|
||||||
<case
|
<case
|
||||||
|
@ -393,7 +397,6 @@
|
||||||
latin:styleName="enterKeyStyle"
|
latin:styleName="enterKeyStyle"
|
||||||
latin:keySpec="dummy_label|!code/key_enter"
|
latin:keySpec="dummy_label|!code/key_enter"
|
||||||
latin:keyLabelFlags="fromCustomActionLabel"
|
latin:keyLabelFlags="fromCustomActionLabel"
|
||||||
latin:backgroundType="action"
|
|
||||||
latin:parentStyle="defaultEnterKeyStyle" />
|
latin:parentStyle="defaultEnterKeyStyle" />
|
||||||
</case>
|
</case>
|
||||||
<!-- imeAction is either actionNone or actionUnspecified. -->
|
<!-- imeAction is either actionNone or actionUnspecified. -->
|
||||||
|
|
|
@ -140,6 +140,7 @@ public final class KeyboardTextsSet {
|
||||||
"label_send_key",
|
"label_send_key",
|
||||||
"label_next_key",
|
"label_next_key",
|
||||||
"label_done_key",
|
"label_done_key",
|
||||||
|
"label_search_key",
|
||||||
"label_previous_key",
|
"label_previous_key",
|
||||||
// Other labels.
|
// Other labels.
|
||||||
"label_pause_key",
|
"label_pause_key",
|
||||||
|
|
Loading…
Reference in New Issue