/ime/latinime/res/xml/kbd_dpad_keys.xml
http://eyes-free.googlecode.com/ · XML · 89 lines · 70 code · 1 blank · 18 comment · 0 complexity · 22dd8a59068d94d6fad23a54256b6309 MD5 · raw file
- <?xml version="1.0" encoding="utf-8"?>
- <!--
- /*
- **
- ** Copyright 2011, The Android Open Source Project
- **
- ** Licensed under the Apache License, Version 2.0 (the "License");
- ** you may not use this file except in compliance with the License.
- ** You may obtain a copy of the License at
- **
- ** http://www.apache.org/licenses/LICENSE-2.0
- **
- ** Unless required by applicable law or agreed to in writing, software
- ** distributed under the License is distributed on an "AS IS" BASIS,
- ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ** See the License for the specific language governing permissions and
- ** limitations under the License.
- */
- -->
- <Keyboard
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:keyWidth="100%p"
- android:horizontalGap="0px"
- android:verticalGap="@dimen/key_bottom_gap"
- android:keyHeight="@dimen/key_height"
- >
- <Row
- android:rowEdgeFlags="top"
- >
- <Key
- android:codes="@integer/key_back"
- android:keyIcon="@drawable/sym_dpad_back"
- android:keyWidth="15%p"
- android:keyEdgeFlags="left"
- android:isModifier="true" />
- <Key
- android:codes="@integer/key_dpad_up"
- android:keyLabel="up"
- android:horizontalGap="25%p"
- android:keyWidth="20%p" />
- <Key
- android:codes="@integer/key_home"
- android:keyIcon="@drawable/sym_dpad_home"
- android:horizontalGap="25%p"
- android:keyWidth="15%p"
- android:keyEdgeFlags="right"
- android:isModifier="true" />
- </Row>
- <Row>
- <Key
- android:codes="@integer/key_dpad_left"
- android:keyLabel="left"
- android:horizontalGap="20%p"
- android:keyWidth="20%p" />
- <Key
- android:codes="@integer/key_dpad_center"
- android:keyLabel="center"
- android:keyWidth="20%p" />
- <Key
- android:codes="@integer/key_dpad_right"
- android:keyLabel="right"
- android:keyWidth="20%p" />
- </Row>
- <Row>
- <Key
- android:codes="@integer/key_dpad_down"
- android:keyLabel="down"
- android:horizontalGap="40%p"
- android:keyWidth="20%p" />
- </Row>
- <Row
- android:rowEdgeFlags="bottom"
- >
- <Key
- android:codes="@integer/key_menu"
- android:keyIcon="@drawable/sym_dpad_menu"
- android:keyWidth="15%p"
- android:keyEdgeFlags="left"
- android:isModifier="true" />
- <Key
- android:codes="@integer/key_search"
- android:keyIcon="@drawable/sym_dpad_search"
- android:horizontalGap="70%p"
- android:keyWidth="15%p"
- android:keyEdgeFlags="right"
- android:isModifier="true" />
- </Row>
- </Keyboard>