satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2010 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <resources> |
| 18 | |
| 19 | <declare-styleable name="LatinKeyboardBaseView"> |
| 20 | <!-- Default KeyboardView style. --> |
| 21 | <attr name="keyboardViewStyle" format="reference" /> |
| 22 | |
| 23 | <!-- Image for the key. This image needs to be a StateListDrawable, with the following |
| 24 | possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, |
| 25 | checkable+checked+pressed. --> |
| 26 | <attr name="keyBackground" format="reference" /> |
| 27 | |
| 28 | <!-- Size of the text for character keys. --> |
| 29 | <attr name="keyTextSize" format="dimension" /> |
| 30 | |
| 31 | <!-- Size of the text for custom keys with some text and no icon. --> |
| 32 | <attr name="labelTextSize" format="dimension" /> |
| 33 | |
| 34 | <!-- Color to use for the label in a key. --> |
| 35 | <attr name="keyTextColor" format="color" /> |
| 36 | |
| 37 | <!-- Layout resource for key press feedback.--> |
| 38 | <attr name="keyPreviewLayout" format="reference" /> |
| 39 | |
| 40 | <!-- Vertical offset of the key press feedback from the key. --> |
| 41 | <attr name="keyPreviewOffset" format="dimension" /> |
| 42 | |
| 43 | <!-- Height of the key press feedback popup. --> |
| 44 | <attr name="keyPreviewHeight" format="dimension" /> |
| 45 | |
| 46 | <!-- Amount to offset the touch Y coordinate by, for bias correction. --> |
| 47 | <attr name="verticalCorrection" format="dimension" /> |
| 48 | |
Ken Wakasa | aed0122 | 2010-09-12 19:08:41 +0900 | [diff] [blame] | 49 | <!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. --> |
| 50 | <attr name="miniKeyboardSlideAllowance" format="dimension" /> |
| 51 | |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 52 | <!-- Layout resource for popup keyboards. --> |
| 53 | <attr name="popupLayout" format="reference" /> |
| 54 | |
| 55 | <attr name="shadowColor" format="color" /> |
| 56 | <attr name="shadowRadius" format="float" /> |
| 57 | <attr name="backgroundDimAmount" format="float" /> |
| 58 | |
| 59 | <attr name="keyTextStyle"> |
| 60 | <flag name="normal" value="0" /> |
| 61 | <flag name="bold" value="1" /> |
| 62 | <flag name="italic" value="2" /> |
| 63 | </attr> |
| 64 | |
| 65 | <attr name="symbolColorScheme"> |
| 66 | <flag name="white" value="0" /> |
| 67 | <flag name="black" value="1" /> |
| 68 | </attr> |
| 69 | |
| 70 | </declare-styleable> |
| 71 | |
| 72 | </resources> |