1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4** 5** Copyright 2014, 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 <!-- TODO: Consolidate the layout specification between protrait and landscape. 25 Ideally just the keyWidth should be different --> 26 <switch> 27 <!-- fa: Perisan 28 kn: Kannada 29 ne: Nepali 30 te: Telugu --> 31 <case 32 latin:languageCode="fa|kn|ne|te" 33 latin:languageSwitchKeyEnabled="true" 34 > 35 <Key 36 latin:keyStyle="languageSwitchKeyStyle" /> 37 <Key 38 latin:keyStyle="spaceKeyStyle" 39 latin:keyWidth="7.0%p" /> 40 <Key 41 latin:keyStyle="zwnjKeyStyle" /> 42 </case> 43 <case 44 latin:languageCode="fa|kn|ne|te" 45 latin:languageSwitchKeyEnabled="false" 46 > 47 <Key 48 latin:keyStyle="spaceKeyStyle" 49 latin:keyWidth="14.0%p" /> 50 <Key 51 latin:keyStyle="zwnjKeyStyle" /> 52 </case> 53 <case 54 latin:languageSwitchKeyEnabled="true" 55 > 56 <Key 57 latin:keyStyle="languageSwitchKeyStyle" /> 58 <Key 59 latin:keyStyle="spaceKeyStyle" 60 latin:keyWidth="14.0%p" /> 61 </case> 62 <!-- languageSwitchKeyEnabled="false" --> 63 <default> 64 <Key 65 latin:keyStyle="spaceKeyStyle" 66 latin:keyWidth="21.0%p" /> 67 </default> 68 </switch> 69</merge> 70