/ime/latinime/res/xml/kbd_dpad_keys.xml
XML | 89 lines | 70 code | 1 blank | 18 comment | 0 complexity | 22dd8a59068d94d6fad23a54256b6309 MD5 | raw file
1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4** 5** Copyright 2011, 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<Keyboard 22 xmlns:android="http://schemas.android.com/apk/res/android" 23 android:keyWidth="100%p" 24 android:horizontalGap="0px" 25 android:verticalGap="@dimen/key_bottom_gap" 26 android:keyHeight="@dimen/key_height" 27> 28 <Row 29 android:rowEdgeFlags="top" 30 > 31 <Key 32 android:codes="@integer/key_back" 33 android:keyIcon="@drawable/sym_dpad_back" 34 android:keyWidth="15%p" 35 android:keyEdgeFlags="left" 36 android:isModifier="true" /> 37 <Key 38 android:codes="@integer/key_dpad_up" 39 android:keyLabel="up" 40 android:horizontalGap="25%p" 41 android:keyWidth="20%p" /> 42 <Key 43 android:codes="@integer/key_home" 44 android:keyIcon="@drawable/sym_dpad_home" 45 android:horizontalGap="25%p" 46 android:keyWidth="15%p" 47 android:keyEdgeFlags="right" 48 android:isModifier="true" /> 49 </Row> 50 <Row> 51 <Key 52 android:codes="@integer/key_dpad_left" 53 android:keyLabel="left" 54 android:horizontalGap="20%p" 55 android:keyWidth="20%p" /> 56 <Key 57 android:codes="@integer/key_dpad_center" 58 android:keyLabel="center" 59 android:keyWidth="20%p" /> 60 <Key 61 android:codes="@integer/key_dpad_right" 62 android:keyLabel="right" 63 android:keyWidth="20%p" /> 64 </Row> 65 <Row> 66 <Key 67 android:codes="@integer/key_dpad_down" 68 android:keyLabel="down" 69 android:horizontalGap="40%p" 70 android:keyWidth="20%p" /> 71 </Row> 72 <Row 73 android:rowEdgeFlags="bottom" 74 > 75 <Key 76 android:codes="@integer/key_menu" 77 android:keyIcon="@drawable/sym_dpad_menu" 78 android:keyWidth="15%p" 79 android:keyEdgeFlags="left" 80 android:isModifier="true" /> 81 <Key 82 android:codes="@integer/key_search" 83 android:keyIcon="@drawable/sym_dpad_search" 84 android:horizontalGap="70%p" 85 android:keyWidth="15%p" 86 android:keyEdgeFlags="right" 87 android:isModifier="true" /> 88 </Row> 89</Keyboard>