Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 **
      5 ** Copyright 2012, 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         <!-- fa: Perisan
     26              kn: Kannada
     27              ne: Nepali
     28              te: Telugu -->
     29         <case
     30             latin:languageCode="fa|kn|ne|te"
     31             latin:languageSwitchKeyEnabled="true"
     32         >
     33             <Key
     34                 latin:keyStyle="languageSwitchKeyStyle" />
     35             <Key
     36                 latin:keyStyle="spaceKeyStyle"
     37                 latin:keyWidth="30%p" />
     38             <Key
     39                 latin:keyStyle="zwnjKeyStyle" />
     40         </case>
     41         <case
     42             latin:languageCode="fa|kn|ne|te"
     43             latin:languageSwitchKeyEnabled="false"
     44         >
     45             <Key
     46                 latin:keyStyle="spaceKeyStyle"
     47                 latin:keyWidth="40%p" />
     48             <Key
     49                 latin:keyStyle="zwnjKeyStyle" />
     50         </case>
     51         <case
     52             latin:languageSwitchKeyEnabled="true"
     53         >
     54             <Key
     55                 latin:keyStyle="languageSwitchKeyStyle" />
     56             <Key
     57                 latin:keyStyle="spaceKeyStyle"
     58                 latin:keyWidth="40%p" />
     59         </case>
     60         <!-- languageSwitchKeyEnabled="false" -->
     61         <default>
     62             <Key
     63                 latin:keyStyle="spaceKeyStyle"
     64                 latin:keyWidth="50%p" />
     65         </default>
     66     </switch>
     67 </merge>
     68