Home | History | Annotate | Download | only in xml-sw600dp
      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     <Row
     25         latin:keyWidth="7.0%p"
     26     >
     27         <switch>
     28             <case
     29                 latin:languageSwitchKeyEnabled="true"
     30             >
     31                 <Key
     32                     latin:keyStyle="languageSwitchKeyStyle"
     33                     latin:keyWidth="9.0%p"
     34                     latin:backgroundType="functional" />
     35             </case>
     36         </switch>
     37         <Key
     38             latin:keyStyle="spaceKeyStyle"
     39             latin:keyXPos="25.5%p"
     40             latin:keyWidth="49.0%p" />
     41         <switch>
     42             <case
     43                 latin:keyboardLayoutSetElement="alphabet|alphabetAutomaticShifted"
     44             >
     45                 <include
     46                     latin:keyXPos="-9.0%p"
     47                     latin:keyWidth="9.0%p"
     48                     latin:keyboardLayout="@xml/key_shortcut" />
     49             </case>
     50             <!-- keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted" -->
     51             <default>
     52                 <include
     53                     latin:keyXPos="-9.0%p"
     54                     latin:keyWidth="9.0%p"
     55                     latin:backgroundType="functional"
     56                     latin:keyboardLayout="@xml/key_f2" />
     57             </default>
     58         </switch>
     59     </Row>
     60 </merge>
     61