1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /* 4 ** 5 ** Copyright 2011, The Android Open Source Project 6 ** 7 ** Licensed under the Apache License, Version 2.0 (the "License"); 8 ** you may not use this file except in compliance with the License. 9 ** You may obtain a copy of the License at 10 ** 11 ** http://www.apache.org/licenses/LICENSE-2.0 12 ** 13 ** Unless required by applicable law or agreed to in writing, software 14 ** distributed under the License is distributed on an "AS IS" BASIS, 15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 ** See the License for the specific language governing permissions and 17 ** limitations under the License. 18 */ 19 --> 20 21 <merge 22 xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" 23 > 24 <switch> 25 <case 26 latin:mode="email" 27 > 28 <Key 29 latin:keyLabel="-" /> 30 </case> 31 <case 32 latin:mode="url" 33 > 34 <Key 35 latin:keyLabel="/" 36 latin:keyLabelOption="hasUppercaseLetter" 37 latin:keyHintLabel=":" 38 latin:moreKeys=":" /> 39 </case> 40 <default> 41 <Key 42 latin:keyLabel="@string/keylabel_for_apostrophe" 43 latin:keyLabelOption="hasUppercaseLetter" 44 latin:keyHintLabel="@string/keyhintlabel_for_apostrophe" 45 latin:moreKeys="@string/more_keys_for_apostrophe" /> 46 </default> 47 </switch> 48 <switch> 49 <case 50 latin:mode="email" 51 > 52 <Key 53 latin:keyLabel="_" /> 54 </case> 55 <default> 56 <Key 57 latin:keyLabel="@string/keylabel_for_dash" 58 latin:keyLabelOption="hasUppercaseLetter" 59 latin:keyHintLabel="@string/keyhintlabel_for_dash" 60 latin:moreKeys="@string/more_keys_for_dash" /> 61 </default> 62 </switch> 63 </merge> 64