1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2011 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 <!-- Base attributes that are available to all Item objects. --> 19 <declare-styleable name="MenuItem"> 20 21 <!-- The ID of the item. --> 22 <attr name="android:id" /> 23 24 <!-- The category applied to the item. 25 (This will be or'ed with the orderInCategory attribute.) --> 26 <attr name="android:menuCategory" /> 27 28 <!-- The order within the category applied to the item. 29 (This will be or'ed with the category attribute.) --> 30 <attr name="android:orderInCategory" /> 31 32 <!-- The title associated with the item. --> 33 <attr name="android:title" /> 34 35 <!-- The condensed title associated with the item. This is used in situations where the 36 normal title may be too long to be displayed. --> 37 <attr name="android:titleCondensed" /> 38 39 <!-- The icon associated with this item. This icon will not always be shown, so 40 the title should be sufficient in describing this item. --> 41 <attr name="android:icon" /> 42 43 <!-- The alphabetic shortcut key. This is the shortcut when using a keyboard 44 with alphabetic keys. --> 45 <attr name="android:alphabeticShortcut" /> 46 47 <!-- The numeric shortcut key. This is the shortcut when using a numeric (e.g., 12-key) 48 keyboard. --> 49 <attr name="android:numericShortcut" /> 50 51 <!-- Whether the item is capable of displaying a check mark. --> 52 <attr name="android:checkable" /> 53 54 <!-- Whether the item is checked. Note that you must first have enabled checking with 55 the checkable attribute or else the check mark will not appear. --> 56 <attr name="android:checked" /> 57 58 <!-- Whether the item is shown/visible. --> 59 <attr name="android:visible" /> 60 61 <!-- Whether the item is enabled. --> 62 <attr name="android:enabled" /> 63 </declare-styleable> 64</resources> 65