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         <case
     26             latin:languageCode="fa|ne"
     27             latin:languageSwitchKeyEnabled="true"
     28         >
     29             <Key
     30                 latin:keyStyle="languageSwitchKeyStyle" />
     31             <Key
     32                 latin:keyStyle="spaceKeyStyle"
     33                 latin:keyWidth="30%p" />
     34             <Key
     35                 latin:keyStyle="zwnjKeyStyle" />
     36         </case>
     37         <case
     38             latin:languageCode="fa|ne"
     39             latin:languageSwitchKeyEnabled="false"
     40         >
     41             <Key
     42                 latin:keyStyle="spaceKeyStyle"
     43                 latin:keyWidth="40%p" />
     44             <Key
     45                 latin:keyStyle="zwnjKeyStyle" />
     46         </case>
     47         <case
     48             latin:languageSwitchKeyEnabled="true"
     49         >
     50             <Key
     51                 latin:keyStyle="languageSwitchKeyStyle" />
     52             <Key
     53                 latin:keyStyle="spaceKeyStyle"
     54                 latin:keyWidth="40%p" />
     55         </case>
     56         <!-- languageSwitchKeyEnabled="false" -->
     57         <default>
     58             <Key
     59                 latin:keyStyle="spaceKeyStyle"
     60                 latin:keyWidth="50%p" />
     61         </default>
     62     </switch>
     63 </merge>
     64