1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2008 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<menu xmlns:android="http://schemas.android.com/apk/res/android"> 18 <item android:title="Apple" 19 android:showAsAction="always|withText" /> 20 21 <item android:title="Orange" 22 android:showAsAction="always|withText"> 23 24 <menu> 25 26 <item android:id="@+id/a" 27 android:title="Aaaaaa" 28 android:icon="@drawable/stat_happy" /> 29 30 <item android:id="@+id/b" 31 android:title="Bbbbbbb" 32 android:icon="@drawable/stat_neutral" /> 33 34 <item android:id="@+id/c" 35 android:title="Ccccccc (More)"> 36 37 <menu> 38 <item android:id="@+id/d" 39 android:title="Dddddd" /> 40 <item android:id="@+id/d" 41 android:title="Eeeeee"> 42 <menu> 43 <item android:title="Ffffff" /> 44 </menu> 45 </item> 46 47 </menu> 48 </item> 49 50 </menu> 51 </item> 52 53 <item android:title="Normal 1" /> 54 55 <item android:id="@+id/submenu" 56 android:title="Emotions"> 57 58 <menu> 59 60 61 62 <item android:id="@+id/happy" 63 android:title="Happy" 64 android:icon="@drawable/stat_happy" /> 65 66 <item android:id="@+id/neutral" 67 android:title="Neutral" 68 android:icon="@drawable/stat_neutral" /> 69 70 <item android:id="@+id/sad" 71 android:title="Sad" 72 android:icon="@drawable/stat_sad" /> 73 74 <item android:id="@+id/happyA" 75 android:title="Happy" 76 android:icon="@drawable/stat_happy" /> 77 78 <item android:id="@+id/neutralA" 79 android:title="Neutral" 80 android:icon="@drawable/stat_neutral" /> 81 82 <item android:id="@+id/emotions2" 83 android:title="More Emotions"> 84 85 <menu> 86 <item android:id="@+id/emotions3" 87 android:title="More Emotions"> 88 89 <menu> 90 91 <item android:id="@+id/angry2" 92 android:title="Very Angry" /> 93 94 <item android:id="@+id/neutral3" 95 android:title="Triple Neutral" 96 android:icon="@drawable/stat_neutral" /> 97 98 </menu> 99 100 </item> 101 102 <item android:id="@+id/angry" 103 android:title="Angry" /> 104 105 <item android:id="@+id/neutral2" 106 android:title="Double Neutral" 107 android:icon="@drawable/stat_neutral" /> 108 109 </menu> 110 </item> 111 112 <item android:id="@+id/sadA" 113 android:title="Sad" 114 android:icon="@drawable/stat_sad" /> 115 116 <item android:id="@+id/happyB" 117 android:title="Happy" 118 android:icon="@drawable/stat_happy" /> 119 120 <item android:id="@+id/neutralB" 121 android:title="Neutral" 122 android:icon="@drawable/stat_neutral" /> 123 124 <item android:id="@+id/sadB" 125 android:title="Sad" 126 android:icon="@drawable/stat_sad" /> 127 128 <item android:id="@+id/happyC" 129 android:title="Happy" 130 android:icon="@drawable/stat_happy" /> 131 132 <item android:id="@+id/neutralC" 133 android:title="Neutral" 134 android:icon="@drawable/stat_neutral" /> 135 136 <item android:id="@+id/sadC" 137 android:title="Sad" 138 android:icon="@drawable/stat_sad" /> 139 140 <item android:id="@+id/happyD" 141 android:title="Happy" 142 android:icon="@drawable/stat_happy" /> 143 144 <item android:id="@+id/neutralD" 145 android:title="Neutral" 146 android:icon="@drawable/stat_neutral" /> 147 </menu> 148 149 </item> 150 151 <item android:title="Normal 2" /> 152 153</menu>