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="10%p"
     26     >
     27         <Key
     28             latin:keyStyle="toSymbolKeyStyle"
     29             latin:keyWidth="15%p" />
     30         <switch>
     31             <case
     32                 latin:hasShortcutKey="true"
     33                 latin:keyboardLayoutSetElement="alphabet"
     34             >
     35                 <Key
     36                     latin:keyLabel="q"
     37                     latin:backgroundType="normal"
     38                     latin:additionalMoreKeys="!text/shortcut_as_more_key"
     39                     latin:keyStyle="f1MoreKeysStyle" />
     40             </case>
     41             <case
     42                 latin:hasShortcutKey="true"
     43             >
     44                 <Key
     45                     latin:keyLabel="Q"
     46                     latin:backgroundType="normal"
     47                     latin:additionalMoreKeys="!text/shortcut_as_more_key"
     48                     latin:keyStyle="f1MoreKeysStyle" />
     49             </case>
     50             <!-- latin:hasShortcutKey="false" -->
     51             <case
     52                 latin:keyboardLayoutSetElement="alphabet"
     53             >
     54                 <Key
     55                     latin:keyLabel="q"
     56                     latin:backgroundType="normal"
     57                     latin:keyStyle="f1MoreKeysStyle" />
     58             </case>
     59             <default>
     60                 <Key
     61                     latin:keyLabel="Q"
     62                     latin:backgroundType="normal"
     63                     latin:keyStyle="f1MoreKeysStyle" />
     64             </default>
     65         </switch>
     66         <include
     67             latin:keyXPos="25%p"
     68             latin:keyboardLayout="@xml/key_space_5kw" />
     69         <Key
     70             latin:keyLabel="z"
     71             latin:keyLabelFlags="hasPopupHint"
     72             latin:moreKeys="!text/more_keys_for_punctuation,!text/more_keys_for_z" />
     73         <Key
     74             latin:keyStyle="enterKeyStyle"
     75             latin:keyWidth="fillRight" />
     76     </Row>
     77 </merge>
     78