Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 **
      5 ** Copyright 2013, 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:languageCode="hi"
     27             latin:keyboardLayoutSet="hindi_compact"
     28         >
     29             <!-- U+0964: "" DEVANAGARI DANDA -->
     30             <Key
     31                 latin:keySpec="\u0964"
     32                 latin:keyLabelFlags="hasPopupHint"
     33                 latin:moreKeys="!autoColumnOrder!9,\\,,.,?,!,#,),(,/,;,',@,:,-,&quot;,+,\\%,&amp;"
     34                 latin:backgroundType="functional" />
     35         </case>
     36         <case
     37             latin:languageCode="ne"
     38             latin:keyboardLayoutSet="nepali_traditional"
     39         >
     40             <!-- Because the font rendering system prior to API version 16 can't automatically
     41                  render dotted circle for incomplete combining letter of some scripts, different
     42                  set of Key definitions are needed based on the API version. -->
     43             <include
     44                 latin:keyboardLayout="@xml/keystyle_devanagari_sign_virama" />
     45             <Key
     46                 latin:keyStyle="baseKeyDevanagariSignVirama"
     47                 latin:keyLabelFlags="hasPopupHint"
     48                 latin:moreKeys="!text/morekeys_punctuation"
     49                 latin:backgroundType="functional" />
     50         </case>
     51         <case
     52             latin:keyboardLayoutSet="dvorak"
     53         >
     54             <Key
     55                 latin:keySpec="z"
     56                 latin:keyLabelFlags="hasPopupHint"
     57                 latin:moreKeys="!text/morekeys_punctuation,!text/morekeys_z" />
     58         </case>
     59         <default>
     60             <Key
     61                 latin:keySpec="!text/keyspec_period"
     62                 latin:keyHintLabel="!text/keyhintlabel_period"
     63                 latin:keyLabelFlags="hasPopupHint|hasShiftedLetterHint"
     64                 latin:moreKeys="!text/morekeys_period"
     65                 latin:backgroundType="functional" />
     66         </default>
     67     </switch>
     68 </merge>
     69