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     <include
     25         latin:keyboardLayout="@xml/key_styles_common" />
     26     <Row
     27         latin:keyWidth="7.692%p"
     28     >
     29         <switch>
     30             <case
     31                 latin:keyboardLayoutSetElement="alphabet|alphabetAutomaticShifted"
     32             >
     33                 <include
     34                     latin:keyboardLayout="@xml/rowkeys_pcqwerty1" />
     35             </case>
     36             <!-- keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted" -->
     37             <default>
     38                 <include
     39                      latin:keyboardLayout="@xml/rowkeys_pcqwerty1_shift" />
     40             </default>
     41         </switch>
     42     </Row>
     43     <Row
     44         latin:keyWidth="7.692%p"
     45     >
     46         <include
     47             latin:keyboardLayout="@xml/rowkeys_pcqwerty2" />
     48     </Row>
     49     <Row
     50         latin:keyWidth="7.692%p"
     51     >
     52         <include
     53             latin:keyboardLayout="@xml/rowkeys_pcqwerty3"
     54             latin:keyXPos="3.846%p" />
     55         <Key
     56             latin:keyStyle="deleteKeyStyle"
     57             latin:keyWidth="fillRight"
     58             latin:visualInsetsLeft="1%p" />
     59     </Row>
     60     <Row
     61         latin:keyWidth="7.692%p"
     62     >
     63         <Key
     64             latin:keyStyle="shiftKeyStyle"
     65             latin:keyWidth="11.538%p"
     66             latin:visualInsetsRight="1%p" />
     67         <include
     68             latin:keyboardLayout="@xml/rowkeys_pcqwerty4" />
     69         <Key
     70             latin:keyStyle="shiftKeyStyle"
     71             latin:keyWidth="fillRight"
     72             latin:visualInsetsLeft="1%p" />
     73     </Row>
     74     <include
     75         latin:keyboardLayout="@xml/row_pcqwerty5" />
     76 </merge>
     77