Home | History | Annotate | Download | only in xml-sw600dp-land
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 **
      5 ** Copyright 2014, 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     <switch>
     25         <!-- Split the 4th row for split layouts -->
     26         <case
     27             latin:isSplitLayout="true"
     28         >
     29             <Row
     30                 latin:keyWidth="7.0%p"
     31                 latin:backgroundType="functional"
     32             >
     33                 <Key
     34                     latin:keyStyle="toSymbolKeyStyle" />
     35                 <include
     36                     latin:keyboardLayout="@xml/key_comma" />
     37                 <!-- Space key. -->
     38                 <include
     39                     latin:keyboardLayout="@xml/key_space_3kw"
     40                     latin:backgroundType="normal" />
     41                 <Spacer
     42                     latin:keyWidth="28.0%p" />
     43                 <Key
     44                     latin:keyStyle="spaceKeyStyle"
     45                     latin:keyWidth="21.0%p" />
     46                 <include
     47                     latin:keyboardLayout="@xml/key_period" />
     48                 <include
     49                     latin:keyboardLayout="@xml/key_emoji" />
     50             </Row>
     51         </case>
     52         <default>
     53             <Row
     54                 latin:keyWidth="9.0%p"
     55                 latin:backgroundType="functional"
     56             >
     57                 <Key
     58                     latin:keyStyle="toSymbolKeyStyle"
     59                     latin:keyWidth="10.0%p" />
     60                 <include
     61                     latin:keyboardLayout="@xml/key_comma" />
     62                 <!-- Space key. -->
     63                 <include
     64                     latin:keyXPos="19.0%p"
     65                     latin:keyboardLayout="@xml/key_space_7kw"
     66                     latin:backgroundType="normal" />
     67                 <include
     68                     latin:keyboardLayout="@xml/key_period" />
     69                 <include
     70                     latin:keyboardLayout="@xml/key_emoji" />
     71             </Row>
     72         </default>
     73     </switch>
     74 </merge>
     75