Home | History | Annotate | Download | only in xml-sw600dp-land
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 **
      5 ** Copyright 2011, 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     <include
     25         latin:keyboardLayout="@xml/key_styles_common" />
     26     <!-- First row -->
     27     <Row>
     28         <switch>
     29             <!-- Split keyboard layout for the first row -->
     30             <case
     31                 latin:isSplitLayout="true"
     32             >
     33                 <include
     34                     latin:keyboardLayout="@xml/rowkeys_qwerty1_left5"
     35                     latin:keyWidth="7.0%p" />
     36                 <Spacer
     37                     latin:keyWidth="20.0%p" />
     38                 <include
     39                     latin:keyboardLayout="@xml/rowkeys_qwerty1_right5"
     40                     latin:keyWidth="7.0%p" />
     41                 <Key
     42                     latin:keyStyle="deleteKeyStyle"
     43                     latin:keyWidth="10.0%p" />
     44             </case>
     45             <!-- Regular layout for the first row -->
     46             <default>
     47                 <include
     48                     latin:keyboardLayout="@xml/rowkeys_qwerty1"
     49                     latin:keyWidth="9.0%p" />
     50                 <Key
     51                     latin:keyStyle="deleteKeyStyle"
     52                     latin:keyWidth="fillRight" />
     53             </default>
     54         </switch>
     55     </Row>
     56     <!-- Second row -->
     57     <Row>
     58         <switch>
     59             <!-- Split keyboard layout for the second row -->
     60             <case
     61                 latin:isSplitLayout="true"
     62             >
     63                 <include
     64                     latin:keyboardLayout="@xml/rowkeys_qwerty2_left5"
     65                     latin:keyXPos="4.0%p"
     66                     latin:keyWidth="7.0%p" />
     67                 <Spacer
     68                     latin:keyWidth="23.0%p" />
     69                 <include
     70                     latin:keyboardLayout="@xml/rowkeys_qwerty2_right4"
     71                     latin:keyWidth="7.0%p" />
     72                 <Key
     73                     latin:keyStyle="enterKeyStyle"
     74                     latin:keyWidth="10.0%p" />
     75             </case>
     76             <!-- Regular layout for the second row -->
     77             <default>
     78                 <include
     79                     latin:keyboardLayout="@xml/rowkeys_qwerty2"
     80                     latin:keyXPos="4.5%p"
     81                     latin:keyWidth="9.0%p" />
     82                 <Key
     83                     latin:keyStyle="enterKeyStyle"
     84                     latin:keyWidth="fillRight" />
     85             </default>
     86         </switch>
     87     </Row>
     88     <!-- Third row -->
     89     <Row>
     90         <switch>
     91             <!-- Split keyboard layout for the third row -->
     92             <case
     93                 latin:isSplitLayout="true"
     94             >
     95                 <Key
     96                     latin:keyStyle="shiftKeyStyle"
     97                     latin:keyWidth="10.0%p" />
     98                 <include
     99                     latin:keyboardLayout="@xml/rowkeys_qwerty3_left4"
    100                     latin:keyWidth="7.0%p" />
    101                 <Spacer
    102                     latin:keyWidth="17.0%p" />
    103                 <include
    104                     latin:keyboardLayout="@xml/rowkeys_qwerty3_right3"
    105                     latin:keyWidth="7.0%p" />
    106                 <include
    107                     latin:keyboardLayout="@xml/keys_exclamation_question"
    108                     latin:keyWidth="7.0%p" />
    109                 <Key
    110                     latin:keyStyle="shiftKeyStyle"
    111                     latin:keyWidth="10.0%p" />
    112             </case>
    113             <!-- Regular layout for the third row -->
    114             <default>
    115                 <Key
    116                     latin:keyStyle="shiftKeyStyle"
    117                     latin:keyWidth="10.0%p" />
    118                 <include
    119                     latin:keyboardLayout="@xml/rowkeys_qwerty3"
    120                     latin:keyWidth="9.0%p" />
    121                 <include
    122                     latin:keyboardLayout="@xml/keys_exclamation_question"
    123                     latin:keyWidth="9.0%p" />
    124                 <Key
    125                     latin:keyStyle="shiftKeyStyle"
    126                     latin:keyWidth="fillRight" />
    127             </default>
    128         </switch>
    129     </Row>
    130     <!-- Fourth row -->
    131     <include
    132         latin:keyboardLayout="@xml/row_qwerty4" />
    133 </merge>
    134