Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 **
      5 ** Copyright 2010, 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         <switch>
     28             <case
     29                 latin:hasSettingsKey="false"
     30                 latin:navigateAction="false"
     31             >
     32                 <Key
     33                     latin:keyStyle="toAlphaKeyStyle"
     34                     latin:keyWidth="15%p" />
     35                 <!-- Note: Neither DroidSans nor Roboto have a glyph for  Double high-reversed-9 quotation mark U+201F. -->
     36                     <!-- latin:keyLabelOption="hasPopupHint" -->
     37                     <!-- latin:moreKeys="" -->
     38                 <Key
     39                     latin:keyLabel=""
     40                     latin:backgroundType="functional" />
     41                 <Key
     42                     latin:keyStyle="spaceKeyStyle"
     43                     latin:keyWidth="50%p" />
     44                 <Key
     45                     latin:keyLabel=""
     46                     latin:backgroundType="functional" />
     47                 <Key
     48                     latin:keyStyle="returnKeyStyle"
     49                     latin:keyWidth="fillRight" />
     50             </case>
     51             <!-- hasSettingsKey="true" or navigateAction="true" -->
     52             <default>
     53                 <Key
     54                     latin:keyStyle="toAlphaKeyStyle"
     55                     latin:keyWidth="13.75%p" />
     56                 <include
     57                     latin:keyboardLayout="@xml/kbd_settings_or_tab" />
     58                 <!-- Note: Neither DroidSans nor Roboto have a glyph for  Double high-reversed-9 quotation mark U+201F. -->
     59                     <!-- latin:keyLabelOption="hasPopupHint" -->
     60                     <!-- latin:moreKeys="" -->
     61                 <Key
     62                     latin:keyLabel=""
     63                     latin:keyWidth="9.2%p"
     64                     latin:backgroundType="functional" />
     65                 <Key
     66                     latin:keyStyle="spaceKeyStyle"
     67                     latin:keyWidth="35.83%p" />
     68                 <Key
     69                     latin:keyLabel=""
     70                     latin:keyWidth="9.2%p"
     71                     latin:backgroundType="functional" />
     72                 <Key
     73                     latin:keyStyle="returnKeyStyle"
     74                     latin:keyWidth="fillRight" />
     75             </default>
     76         </switch>
     77     </Row>
     78 </merge>
     79