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     <Row
     25         latin:keyWidth="7.692%p"
     26     >
     27         <switch>
     28             <case
     29                 latin:keyboardLayoutSetElement="symbols|symbolsShifted"
     30             >
     31                 <Key
     32                     latin:keyStyle="toAlphaKeyStyle"
     33                     latin:keyWidth="11.538%p" />
     34             </case>
     35             <!-- keyboardLayoutSetElement="alphabet*" -->
     36             <default>
     37                 <Key
     38                     latin:keyStyle="toSymbolKeyStyle"
     39                     latin:keyIcon="!icon/undefined"
     40                     latin:keyLabel="!text/label_to_symbol_key_pcqwerty"
     41                     latin:keyWidth="11.538%p" />
     42             </default>
     43         </switch>
     44         <switch>
     45             <case
     46                 latin:shortcutKeyEnabled="true"
     47             >
     48                 <Key
     49                     latin:keyStyle="shortcutKeyStyle" />
     50             </case>
     51             <case
     52                 latin:clobberSettingsKey="false"
     53             >
     54                 <Key
     55                     latin:keyStyle="settingsKeyStyle" />
     56             </case>
     57         </switch>
     58         <switch>
     59             <case
     60                 latin:languageSwitchKeyEnabled="true"
     61             >
     62                 <Key
     63                     latin:keyStyle="languageSwitchKeyStyle"
     64                     latin:keyXPos="19.230%p" />
     65                 <Key
     66                     latin:keyStyle="spaceKeyStyle"
     67                     latin:keyWidth="53.844%p" />
     68             </case>
     69             <!-- languageSwitchKeyEnabled="false" -->
     70             <default>
     71                 <Key
     72                     latin:keyStyle="spaceKeyStyle"
     73                     latin:keyXPos="19.230%p"
     74                     latin:keyWidth="61.536%p" />
     75             </default>
     76         </switch>
     77         <Key
     78             latin:keyStyle="enterKeyStyle"
     79             latin:keyWidth="fillRight" />
     80     </Row>
     81 </merge>
     82