├── .gitattributes ├── .gitignore ├── README.md ├── SearchViewSample.sln └── SearchViewSample ├── Chemical.cs ├── ChemicalsAdapter.cs ├── ObjectExtensions.cs ├── Properties ├── AndroidManifest.xml └── AssemblyInfo.cs ├── Resources ├── Drawable │ └── Icon.png ├── Layout │ ├── Chemical.axml │ └── Main.axml ├── Menu │ └── main.xml └── Resource.Designer.cs ├── SearchViewActivity.cs └── SearchViewSample.csproj /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | #Library objects 2 | *.lo 3 | *.la 4 | 5 | #OS junk files 6 | [Tt]humbs.db 7 | *.DS_Store 8 | 9 | #Visual Studio files 10 | *.[Oo]bj 11 | *.user 12 | *.aps 13 | *.pch 14 | *.vspscc 15 | *.vssscc 16 | *_i.c 17 | *_p.c 18 | *.ncb 19 | *.suo 20 | *.tlb 21 | *.tlh 22 | *.bak 23 | *.[Cc]ache 24 | *.ilk 25 | *.log 26 | *.lib 27 | *.sbr 28 | *.sdf 29 | *.opensdf 30 | *.unsuccessfulbuild 31 | ipch/ 32 | obj/ 33 | [Aa]pp[Pp]ackages 34 | [Bb]in 35 | [Dd]ebug*/ 36 | [Rr]elease*/ 37 | Ankh.NoLoad 38 | Components/ 39 | 40 | #Tooling 41 | _ReSharper*/ 42 | *.resharper 43 | [Tt]est[Rr]esult* 44 | 45 | #Project files 46 | */[Bb]uild/ 47 | 48 | #Subversion files 49 | .svn 50 | 51 | # Office Temp Files 52 | ~$* -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | SearchView-Sample 2 | ================= 3 | 4 | Sample showing how to Filter ListView's using SearchView and custom Filter implementation. 5 | -------------------------------------------------------------------------------- /SearchViewSample.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.21005.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SearchViewSample", "SearchViewSample\SearchViewSample.csproj", "{94C5C731-11F8-4F6B-ADD6-64138370B27F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {94C5C731-11F8-4F6B-ADD6-64138370B27F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {94C5C731-11F8-4F6B-ADD6-64138370B27F}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {94C5C731-11F8-4F6B-ADD6-64138370B27F}.Debug|Any CPU.Deploy.0 = Debug|Any CPU 17 | {94C5C731-11F8-4F6B-ADD6-64138370B27F}.Release|Any CPU.ActiveCfg = Release|Any CPU 18 | {94C5C731-11F8-4F6B-ADD6-64138370B27F}.Release|Any CPU.Build.0 = Release|Any CPU 19 | {94C5C731-11F8-4F6B-ADD6-64138370B27F}.Release|Any CPU.Deploy.0 = Release|Any CPU 20 | EndGlobalSection 21 | GlobalSection(SolutionProperties) = preSolution 22 | HideSolutionNode = FALSE 23 | EndGlobalSection 24 | EndGlobal 25 | -------------------------------------------------------------------------------- /SearchViewSample/Chemical.cs: -------------------------------------------------------------------------------- 1 | namespace SearchViewSample 2 | { 3 | public class Chemical 4 | { 5 | public string Name { get; set; } 6 | 7 | public int DrawableId { get; set; } 8 | } 9 | } -------------------------------------------------------------------------------- /SearchViewSample/ChemicalsAdapter.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Linq; 3 | using Android.App; 4 | using Android.Views; 5 | using Android.Widget; 6 | using Java.Lang; 7 | using Object = Java.Lang.Object; 8 | 9 | namespace SearchViewSample 10 | { 11 | public class ChemicalsAdapter : BaseAdapter, IFilterable 12 | { 13 | private List _originalData; 14 | private List _items; 15 | private readonly Activity _context; 16 | 17 | public ChemicalsAdapter(Activity activity, IEnumerable chemicals) 18 | { 19 | _items = chemicals.OrderBy(s => s.Name).ToList(); 20 | _context = activity; 21 | 22 | Filter = new ChemicalFilter(this); 23 | } 24 | 25 | public override long GetItemId(int position) 26 | { 27 | return position; 28 | } 29 | 30 | public override View GetView(int position, View convertView, ViewGroup parent) 31 | { 32 | var view = convertView ?? _context.LayoutInflater.Inflate(Resource.Layout.Chemical, null); 33 | 34 | var chemical = _items[position]; 35 | 36 | var nameView = view.FindViewById(Resource.Id.chemName); 37 | var imageView = view.FindViewById(Resource.Id.chemImage); 38 | nameView.Text = chemical.Name; 39 | imageView.SetImageResource(chemical.DrawableId); 40 | 41 | return view; 42 | } 43 | 44 | public override int Count 45 | { 46 | get { return _items.Count; } 47 | } 48 | 49 | public override Chemical this[int position] 50 | { 51 | get { return _items[position]; } 52 | } 53 | 54 | public Filter Filter { get; private set; } 55 | 56 | public override void NotifyDataSetChanged() 57 | { 58 | // If you are using cool stuff like sections 59 | // remember to update the indices here! 60 | base.NotifyDataSetChanged(); 61 | } 62 | 63 | private class ChemicalFilter : Filter 64 | { 65 | private readonly ChemicalsAdapter _adapter; 66 | public ChemicalFilter(ChemicalsAdapter adapter) 67 | { 68 | _adapter = adapter; 69 | } 70 | 71 | protected override FilterResults PerformFiltering(ICharSequence constraint) 72 | { 73 | var returnObj = new FilterResults(); 74 | var results = new List(); 75 | if (_adapter._originalData == null) 76 | _adapter._originalData = _adapter._items; 77 | 78 | if (constraint == null) return returnObj; 79 | 80 | if (_adapter._originalData != null && _adapter._originalData.Any()) 81 | { 82 | // Compare constraint to all names lowercased. 83 | // It they are contained they are added to results. 84 | results.AddRange( 85 | _adapter._originalData.Where( 86 | chemical => chemical.Name.ToLower().Contains(constraint.ToString()))); 87 | } 88 | 89 | // Nasty piece of .NET to Java wrapping, be careful with this! 90 | returnObj.Values = FromArray(results.Select(r => r.ToJavaObject()).ToArray()); 91 | returnObj.Count = results.Count; 92 | 93 | constraint.Dispose(); 94 | 95 | return returnObj; 96 | } 97 | 98 | protected override void PublishResults(ICharSequence constraint, FilterResults results) 99 | { 100 | using (var values = results.Values) 101 | _adapter._items = values.ToArray() 102 | .Select(r => r.ToNetObject()).ToList(); 103 | 104 | _adapter.NotifyDataSetChanged(); 105 | 106 | // Don't do this and see GREF counts rising 107 | constraint.Dispose(); 108 | results.Dispose(); 109 | } 110 | } 111 | } 112 | } -------------------------------------------------------------------------------- /SearchViewSample/ObjectExtensions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace SearchViewSample 4 | { 5 | public class JavaHolder : Java.Lang.Object 6 | { 7 | public readonly object Instance; 8 | 9 | public JavaHolder(object instance) 10 | { 11 | Instance = instance; 12 | } 13 | } 14 | 15 | public static class ObjectExtensions 16 | { 17 | public static TObject ToNetObject(this Java.Lang.Object value) 18 | { 19 | if (value == null) 20 | return default(TObject); 21 | 22 | if (!(value is JavaHolder)) 23 | throw new InvalidOperationException("Unable to convert to .NET object. Only Java.Lang.Object created with .ToJavaObject() can be converted."); 24 | 25 | TObject returnVal; 26 | try { returnVal = (TObject)((JavaHolder)value).Instance; } 27 | finally { value.Dispose(); } 28 | return returnVal; 29 | } 30 | 31 | public static Java.Lang.Object ToJavaObject(this TObject value) 32 | { 33 | if (Equals(value, default(TObject)) && !typeof(TObject).IsValueType) 34 | return null; 35 | 36 | var holder = new JavaHolder(value); 37 | 38 | return holder; 39 | } 40 | } 41 | } -------------------------------------------------------------------------------- /SearchViewSample/Properties/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /SearchViewSample/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | using Android.App; 5 | 6 | // General Information about an assembly is controlled through the following 7 | // set of attributes. Change these attribute values to modify the information 8 | // associated with an assembly. 9 | [assembly: AssemblyTitle("SearchViewSample")] 10 | [assembly: AssemblyDescription("")] 11 | [assembly: AssemblyConfiguration("")] 12 | [assembly: AssemblyCompany("")] 13 | [assembly: AssemblyProduct("SearchViewSample")] 14 | [assembly: AssemblyCopyright("Copyright © 2014")] 15 | [assembly: AssemblyTrademark("")] 16 | [assembly: AssemblyCulture("")] 17 | [assembly: ComVisible(false)] 18 | 19 | // Version information for an assembly consists of the following four values: 20 | // 21 | // Major Version 22 | // Minor Version 23 | // Build Number 24 | // Revision 25 | // 26 | // You can specify all the values or you can default the Build and Revision Numbers 27 | // by using the '*' as shown below: 28 | // [assembly: AssemblyVersion("1.0.*")] 29 | [assembly: AssemblyVersion("1.0.0.0")] 30 | [assembly: AssemblyFileVersion("1.0.0.0")] 31 | 32 | // Add some common permissions, these can be removed if not needed 33 | [assembly: UsesPermission(Android.Manifest.Permission.Internet)] 34 | [assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)] 35 | -------------------------------------------------------------------------------- /SearchViewSample/Resources/Drawable/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cheesebaron/SearchView-Sample/db027f0af99cd6d29d3c5bf581b703a149f68e28/SearchViewSample/Resources/Drawable/Icon.png -------------------------------------------------------------------------------- /SearchViewSample/Resources/Layout/Chemical.axml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 12 | 20 | -------------------------------------------------------------------------------- /SearchViewSample/Resources/Layout/Main.axml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 10 | -------------------------------------------------------------------------------- /SearchViewSample/Resources/Menu/main.xml: -------------------------------------------------------------------------------- 1 |  2 | 4 | 9 | -------------------------------------------------------------------------------- /SearchViewSample/Resources/Resource.Designer.cs: -------------------------------------------------------------------------------- 1 | #pragma warning disable 1591 2 | //------------------------------------------------------------------------------ 3 | // 4 | // This code was generated by a tool. 5 | // Runtime Version:4.0.30319.34011 6 | // 7 | // Changes to this file may cause incorrect behavior and will be lost if 8 | // the code is regenerated. 9 | // 10 | //------------------------------------------------------------------------------ 11 | 12 | [assembly: global::Android.Runtime.ResourceDesignerAttribute("SearchViewSample.Resource", IsApplication=true)] 13 | 14 | namespace SearchViewSample 15 | { 16 | 17 | 18 | [System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")] 19 | public partial class Resource 20 | { 21 | 22 | static Resource() 23 | { 24 | global::Android.Runtime.ResourceIdManager.UpdateIdValues(); 25 | } 26 | 27 | public static void UpdateIdValues() 28 | { 29 | } 30 | 31 | public partial class Animation 32 | { 33 | 34 | // aapt resource value: 0x7f040000 35 | public const int abc_fade_in = 2130968576; 36 | 37 | // aapt resource value: 0x7f040001 38 | public const int abc_fade_out = 2130968577; 39 | 40 | // aapt resource value: 0x7f040002 41 | public const int abc_slide_in_bottom = 2130968578; 42 | 43 | // aapt resource value: 0x7f040003 44 | public const int abc_slide_in_top = 2130968579; 45 | 46 | // aapt resource value: 0x7f040004 47 | public const int abc_slide_out_bottom = 2130968580; 48 | 49 | // aapt resource value: 0x7f040005 50 | public const int abc_slide_out_top = 2130968581; 51 | 52 | static Animation() 53 | { 54 | global::Android.Runtime.ResourceIdManager.UpdateIdValues(); 55 | } 56 | 57 | private Animation() 58 | { 59 | } 60 | } 61 | 62 | public partial class Attribute 63 | { 64 | 65 | // aapt resource value: 0x7f01000b 66 | public const int actionBarDivider = 2130771979; 67 | 68 | // aapt resource value: 0x7f01000c 69 | public const int actionBarItemBackground = 2130771980; 70 | 71 | // aapt resource value: 0x7f01000a 72 | public const int actionBarSize = 2130771978; 73 | 74 | // aapt resource value: 0x7f010008 75 | public const int actionBarSplitStyle = 2130771976; 76 | 77 | // aapt resource value: 0x7f010007 78 | public const int actionBarStyle = 2130771975; 79 | 80 | // aapt resource value: 0x7f010004 81 | public const int actionBarTabBarStyle = 2130771972; 82 | 83 | // aapt resource value: 0x7f010003 84 | public const int actionBarTabStyle = 2130771971; 85 | 86 | // aapt resource value: 0x7f010005 87 | public const int actionBarTabTextStyle = 2130771973; 88 | 89 | // aapt resource value: 0x7f010009 90 | public const int actionBarWidgetTheme = 2130771977; 91 | 92 | // aapt resource value: 0x7f010012 93 | public const int actionButtonStyle = 2130771986; 94 | 95 | // aapt resource value: 0x7f010043 96 | public const int actionDropDownStyle = 2130772035; 97 | 98 | // aapt resource value: 0x7f01004a 99 | public const int actionLayout = 2130772042; 100 | 101 | // aapt resource value: 0x7f01000d 102 | public const int actionMenuTextAppearance = 2130771981; 103 | 104 | // aapt resource value: 0x7f01000e 105 | public const int actionMenuTextColor = 2130771982; 106 | 107 | // aapt resource value: 0x7f010038 108 | public const int actionModeBackground = 2130772024; 109 | 110 | // aapt resource value: 0x7f010037 111 | public const int actionModeCloseButtonStyle = 2130772023; 112 | 113 | // aapt resource value: 0x7f01003a 114 | public const int actionModeCloseDrawable = 2130772026; 115 | 116 | // aapt resource value: 0x7f01003c 117 | public const int actionModeCopyDrawable = 2130772028; 118 | 119 | // aapt resource value: 0x7f01003b 120 | public const int actionModeCutDrawable = 2130772027; 121 | 122 | // aapt resource value: 0x7f010040 123 | public const int actionModeFindDrawable = 2130772032; 124 | 125 | // aapt resource value: 0x7f01003d 126 | public const int actionModePasteDrawable = 2130772029; 127 | 128 | // aapt resource value: 0x7f010042 129 | public const int actionModePopupWindowStyle = 2130772034; 130 | 131 | // aapt resource value: 0x7f01003e 132 | public const int actionModeSelectAllDrawable = 2130772030; 133 | 134 | // aapt resource value: 0x7f01003f 135 | public const int actionModeShareDrawable = 2130772031; 136 | 137 | // aapt resource value: 0x7f010039 138 | public const int actionModeSplitBackground = 2130772025; 139 | 140 | // aapt resource value: 0x7f010036 141 | public const int actionModeStyle = 2130772022; 142 | 143 | // aapt resource value: 0x7f010041 144 | public const int actionModeWebSearchDrawable = 2130772033; 145 | 146 | // aapt resource value: 0x7f010006 147 | public const int actionOverflowButtonStyle = 2130771974; 148 | 149 | // aapt resource value: 0x7f01004c 150 | public const int actionProviderClass = 2130772044; 151 | 152 | // aapt resource value: 0x7f01004b 153 | public const int actionViewClass = 2130772043; 154 | 155 | // aapt resource value: 0x7f010068 156 | public const int activityChooserViewStyle = 2130772072; 157 | 158 | // aapt resource value: 0x7f01002b 159 | public const int background = 2130772011; 160 | 161 | // aapt resource value: 0x7f01002d 162 | public const int backgroundSplit = 2130772013; 163 | 164 | // aapt resource value: 0x7f01002c 165 | public const int backgroundStacked = 2130772012; 166 | 167 | // aapt resource value: 0x7f010014 168 | public const int buttonBarButtonStyle = 2130771988; 169 | 170 | // aapt resource value: 0x7f010013 171 | public const int buttonBarStyle = 2130771987; 172 | 173 | // aapt resource value: 0x7f01002e 174 | public const int customNavigationLayout = 2130772014; 175 | 176 | // aapt resource value: 0x7f010050 177 | public const int disableChildrenWhenDisabled = 2130772048; 178 | 179 | // aapt resource value: 0x7f010024 180 | public const int displayOptions = 2130772004; 181 | 182 | // aapt resource value: 0x7f01002a 183 | public const int divider = 2130772010; 184 | 185 | // aapt resource value: 0x7f010017 186 | public const int dividerHorizontal = 2130771991; 187 | 188 | // aapt resource value: 0x7f010052 189 | public const int dividerPadding = 2130772050; 190 | 191 | // aapt resource value: 0x7f010016 192 | public const int dividerVertical = 2130771990; 193 | 194 | // aapt resource value: 0x7f01001d 195 | public const int dropDownListViewStyle = 2130771997; 196 | 197 | // aapt resource value: 0x7f010044 198 | public const int dropdownListPreferredItemHeight = 2130772036; 199 | 200 | // aapt resource value: 0x7f010067 201 | public const int expandActivityOverflowButtonDrawable = 2130772071; 202 | 203 | // aapt resource value: 0x7f010022 204 | public const int height = 2130772002; 205 | 206 | // aapt resource value: 0x7f01000f 207 | public const int homeAsUpIndicator = 2130771983; 208 | 209 | // aapt resource value: 0x7f01002f 210 | public const int homeLayout = 2130772015; 211 | 212 | // aapt resource value: 0x7f010028 213 | public const int icon = 2130772008; 214 | 215 | // aapt resource value: 0x7f010056 216 | public const int iconifiedByDefault = 2130772054; 217 | 218 | // aapt resource value: 0x7f010031 219 | public const int indeterminateProgressStyle = 2130772017; 220 | 221 | // aapt resource value: 0x7f010066 222 | public const int initialActivityCount = 2130772070; 223 | 224 | // aapt resource value: 0x7f010055 225 | public const int isLightTheme = 2130772053; 226 | 227 | // aapt resource value: 0x7f010033 228 | public const int itemPadding = 2130772019; 229 | 230 | // aapt resource value: 0x7f010048 231 | public const int listChoiceBackgroundIndicator = 2130772040; 232 | 233 | // aapt resource value: 0x7f01001e 234 | public const int listPopupWindowStyle = 2130771998; 235 | 236 | // aapt resource value: 0x7f010018 237 | public const int listPreferredItemHeight = 2130771992; 238 | 239 | // aapt resource value: 0x7f01001a 240 | public const int listPreferredItemHeightLarge = 2130771994; 241 | 242 | // aapt resource value: 0x7f010019 243 | public const int listPreferredItemHeightSmall = 2130771993; 244 | 245 | // aapt resource value: 0x7f01001b 246 | public const int listPreferredItemPaddingLeft = 2130771995; 247 | 248 | // aapt resource value: 0x7f01001c 249 | public const int listPreferredItemPaddingRight = 2130771996; 250 | 251 | // aapt resource value: 0x7f010029 252 | public const int logo = 2130772009; 253 | 254 | // aapt resource value: 0x7f010023 255 | public const int navigationMode = 2130772003; 256 | 257 | // aapt resource value: 0x7f010035 258 | public const int paddingEnd = 2130772021; 259 | 260 | // aapt resource value: 0x7f010034 261 | public const int paddingStart = 2130772020; 262 | 263 | // aapt resource value: 0x7f010047 264 | public const int panelMenuListTheme = 2130772039; 265 | 266 | // aapt resource value: 0x7f010046 267 | public const int panelMenuListWidth = 2130772038; 268 | 269 | // aapt resource value: 0x7f010045 270 | public const int popupMenuStyle = 2130772037; 271 | 272 | // aapt resource value: 0x7f01004f 273 | public const int popupPromptView = 2130772047; 274 | 275 | // aapt resource value: 0x7f010032 276 | public const int progressBarPadding = 2130772018; 277 | 278 | // aapt resource value: 0x7f010030 279 | public const int progressBarStyle = 2130772016; 280 | 281 | // aapt resource value: 0x7f01004d 282 | public const int prompt = 2130772045; 283 | 284 | // aapt resource value: 0x7f010057 285 | public const int queryHint = 2130772055; 286 | 287 | // aapt resource value: 0x7f010058 288 | public const int searchDropdownBackground = 2130772056; 289 | 290 | // aapt resource value: 0x7f010061 291 | public const int searchResultListItemHeight = 2130772065; 292 | 293 | // aapt resource value: 0x7f010065 294 | public const int searchViewAutoCompleteTextView = 2130772069; 295 | 296 | // aapt resource value: 0x7f010059 297 | public const int searchViewCloseIcon = 2130772057; 298 | 299 | // aapt resource value: 0x7f01005d 300 | public const int searchViewEditQuery = 2130772061; 301 | 302 | // aapt resource value: 0x7f01005e 303 | public const int searchViewEditQueryBackground = 2130772062; 304 | 305 | // aapt resource value: 0x7f01005a 306 | public const int searchViewGoIcon = 2130772058; 307 | 308 | // aapt resource value: 0x7f01005b 309 | public const int searchViewSearchIcon = 2130772059; 310 | 311 | // aapt resource value: 0x7f01005f 312 | public const int searchViewTextField = 2130772063; 313 | 314 | // aapt resource value: 0x7f010060 315 | public const int searchViewTextFieldRight = 2130772064; 316 | 317 | // aapt resource value: 0x7f01005c 318 | public const int searchViewVoiceIcon = 2130772060; 319 | 320 | // aapt resource value: 0x7f010015 321 | public const int selectableItemBackground = 2130771989; 322 | 323 | // aapt resource value: 0x7f010049 324 | public const int showAsAction = 2130772041; 325 | 326 | // aapt resource value: 0x7f010051 327 | public const int showDividers = 2130772049; 328 | 329 | // aapt resource value: 0x7f010054 330 | public const int spinnerDropDownItemStyle = 2130772052; 331 | 332 | // aapt resource value: 0x7f01004e 333 | public const int spinnerMode = 2130772046; 334 | 335 | // aapt resource value: 0x7f010053 336 | public const int spinnerStyle = 2130772051; 337 | 338 | // aapt resource value: 0x7f010025 339 | public const int subtitle = 2130772005; 340 | 341 | // aapt resource value: 0x7f010027 342 | public const int subtitleTextStyle = 2130772007; 343 | 344 | // aapt resource value: 0x7f010069 345 | public const int textAllCaps = 2130772073; 346 | 347 | // aapt resource value: 0x7f010010 348 | public const int textAppearanceLargePopupMenu = 2130771984; 349 | 350 | // aapt resource value: 0x7f01001f 351 | public const int textAppearanceListItem = 2130771999; 352 | 353 | // aapt resource value: 0x7f010020 354 | public const int textAppearanceListItemSmall = 2130772000; 355 | 356 | // aapt resource value: 0x7f010063 357 | public const int textAppearanceSearchResultSubtitle = 2130772067; 358 | 359 | // aapt resource value: 0x7f010062 360 | public const int textAppearanceSearchResultTitle = 2130772066; 361 | 362 | // aapt resource value: 0x7f010011 363 | public const int textAppearanceSmallPopupMenu = 2130771985; 364 | 365 | // aapt resource value: 0x7f010064 366 | public const int textColorSearchUrl = 2130772068; 367 | 368 | // aapt resource value: 0x7f010021 369 | public const int title = 2130772001; 370 | 371 | // aapt resource value: 0x7f010026 372 | public const int titleTextStyle = 2130772006; 373 | 374 | // aapt resource value: 0x7f010000 375 | public const int windowActionBar = 2130771968; 376 | 377 | // aapt resource value: 0x7f010001 378 | public const int windowActionBarOverlay = 2130771969; 379 | 380 | // aapt resource value: 0x7f010002 381 | public const int windowSplitActionBar = 2130771970; 382 | 383 | static Attribute() 384 | { 385 | global::Android.Runtime.ResourceIdManager.UpdateIdValues(); 386 | } 387 | 388 | private Attribute() 389 | { 390 | } 391 | } 392 | 393 | public partial class Boolean 394 | { 395 | 396 | // aapt resource value: 0x7f060000 397 | public const int abc_action_bar_embed_tabs_pre_jb = 2131099648; 398 | 399 | // aapt resource value: 0x7f060001 400 | public const int abc_action_bar_expanded_action_views_exclusive = 2131099649; 401 | 402 | // aapt resource value: 0x7f060005 403 | public const int abc_config_actionMenuItemAllCaps = 2131099653; 404 | 405 | // aapt resource value: 0x7f060004 406 | public const int abc_config_allowActionMenuItemTextWithIcon = 2131099652; 407 | 408 | // aapt resource value: 0x7f060003 409 | public const int abc_config_showMenuShortcutsWhenKeyboardPresent = 2131099651; 410 | 411 | // aapt resource value: 0x7f060002 412 | public const int abc_split_action_bar_is_narrow = 2131099650; 413 | 414 | static Boolean() 415 | { 416 | global::Android.Runtime.ResourceIdManager.UpdateIdValues(); 417 | } 418 | 419 | private Boolean() 420 | { 421 | } 422 | } 423 | 424 | public partial class Color 425 | { 426 | 427 | // aapt resource value: 0x7f070003 428 | public const int abc_search_url_text_holo = 2131165187; 429 | 430 | // aapt resource value: 0x7f070000 431 | public const int abc_search_url_text_normal = 2131165184; 432 | 433 | // aapt resource value: 0x7f070002 434 | public const int abc_search_url_text_pressed = 2131165186; 435 | 436 | // aapt resource value: 0x7f070001 437 | public const int abc_search_url_text_selected = 2131165185; 438 | 439 | static Color() 440 | { 441 | global::Android.Runtime.ResourceIdManager.UpdateIdValues(); 442 | } 443 | 444 | private Color() 445 | { 446 | } 447 | } 448 | 449 | public partial class Dimension 450 | { 451 | 452 | // aapt resource value: 0x7f080002 453 | public const int abc_action_bar_default_height = 2131230722; 454 | 455 | // aapt resource value: 0x7f080003 456 | public const int abc_action_bar_icon_vertical_padding = 2131230723; 457 | 458 | // aapt resource value: 0x7f08000a 459 | public const int abc_action_bar_progress_bar_size = 2131230730; 460 | 461 | // aapt resource value: 0x7f080009 462 | public const int abc_action_bar_stacked_max_height = 2131230729; 463 | 464 | // aapt resource value: 0x7f080001 465 | public const int abc_action_bar_stacked_tab_max_width = 2131230721; 466 | 467 | // aapt resource value: 0x7f080007 468 | public const int abc_action_bar_subtitle_bottom_margin = 2131230727; 469 | 470 | // aapt resource value: 0x7f080005 471 | public const int abc_action_bar_subtitle_text_size = 2131230725; 472 | 473 | // aapt resource value: 0x7f080006 474 | public const int abc_action_bar_subtitle_top_margin = 2131230726; 475 | 476 | // aapt resource value: 0x7f080004 477 | public const int abc_action_bar_title_text_size = 2131230724; 478 | 479 | // aapt resource value: 0x7f080008 480 | public const int abc_action_button_min_width = 2131230728; 481 | 482 | // aapt resource value: 0x7f080000 483 | public const int abc_config_prefDialogWidth = 2131230720; 484 | 485 | // aapt resource value: 0x7f080010 486 | public const int abc_dropdownitem_icon_width = 2131230736; 487 | 488 | // aapt resource value: 0x7f08000e 489 | public const int abc_dropdownitem_text_padding_left = 2131230734; 490 | 491 | // aapt resource value: 0x7f08000f 492 | public const int abc_dropdownitem_text_padding_right = 2131230735; 493 | 494 | // aapt resource value: 0x7f08000b 495 | public const int abc_panel_menu_list_width = 2131230731; 496 | 497 | // aapt resource value: 0x7f08000d 498 | public const int abc_search_view_preferred_width = 2131230733; 499 | 500 | // aapt resource value: 0x7f08000c 501 | public const int abc_search_view_text_min_width = 2131230732; 502 | 503 | static Dimension() 504 | { 505 | global::Android.Runtime.ResourceIdManager.UpdateIdValues(); 506 | } 507 | 508 | private Dimension() 509 | { 510 | } 511 | } 512 | 513 | public partial class Drawable 514 | { 515 | 516 | // aapt resource value: 0x7f020000 517 | public const int abc_ab_bottom_solid_dark_holo = 2130837504; 518 | 519 | // aapt resource value: 0x7f020001 520 | public const int abc_ab_bottom_solid_light_holo = 2130837505; 521 | 522 | // aapt resource value: 0x7f020002 523 | public const int abc_ab_bottom_transparent_dark_holo = 2130837506; 524 | 525 | // aapt resource value: 0x7f020003 526 | public const int abc_ab_bottom_transparent_light_holo = 2130837507; 527 | 528 | // aapt resource value: 0x7f020004 529 | public const int abc_ab_share_pack_holo_dark = 2130837508; 530 | 531 | // aapt resource value: 0x7f020005 532 | public const int abc_ab_share_pack_holo_light = 2130837509; 533 | 534 | // aapt resource value: 0x7f020006 535 | public const int abc_ab_solid_dark_holo = 2130837510; 536 | 537 | // aapt resource value: 0x7f020007 538 | public const int abc_ab_solid_light_holo = 2130837511; 539 | 540 | // aapt resource value: 0x7f020008 541 | public const int abc_ab_stacked_solid_dark_holo = 2130837512; 542 | 543 | // aapt resource value: 0x7f020009 544 | public const int abc_ab_stacked_solid_light_holo = 2130837513; 545 | 546 | // aapt resource value: 0x7f02000a 547 | public const int abc_ab_stacked_transparent_dark_holo = 2130837514; 548 | 549 | // aapt resource value: 0x7f02000b 550 | public const int abc_ab_stacked_transparent_light_holo = 2130837515; 551 | 552 | // aapt resource value: 0x7f02000c 553 | public const int abc_ab_transparent_dark_holo = 2130837516; 554 | 555 | // aapt resource value: 0x7f02000d 556 | public const int abc_ab_transparent_light_holo = 2130837517; 557 | 558 | // aapt resource value: 0x7f02000e 559 | public const int abc_cab_background_bottom_holo_dark = 2130837518; 560 | 561 | // aapt resource value: 0x7f02000f 562 | public const int abc_cab_background_bottom_holo_light = 2130837519; 563 | 564 | // aapt resource value: 0x7f020010 565 | public const int abc_cab_background_top_holo_dark = 2130837520; 566 | 567 | // aapt resource value: 0x7f020011 568 | public const int abc_cab_background_top_holo_light = 2130837521; 569 | 570 | // aapt resource value: 0x7f020012 571 | public const int abc_ic_ab_back_holo_dark = 2130837522; 572 | 573 | // aapt resource value: 0x7f020013 574 | public const int abc_ic_ab_back_holo_light = 2130837523; 575 | 576 | // aapt resource value: 0x7f020014 577 | public const int abc_ic_cab_done_holo_dark = 2130837524; 578 | 579 | // aapt resource value: 0x7f020015 580 | public const int abc_ic_cab_done_holo_light = 2130837525; 581 | 582 | // aapt resource value: 0x7f020016 583 | public const int abc_ic_clear = 2130837526; 584 | 585 | // aapt resource value: 0x7f020017 586 | public const int abc_ic_clear_disabled = 2130837527; 587 | 588 | // aapt resource value: 0x7f020018 589 | public const int abc_ic_clear_holo_light = 2130837528; 590 | 591 | // aapt resource value: 0x7f020019 592 | public const int abc_ic_clear_normal = 2130837529; 593 | 594 | // aapt resource value: 0x7f02001a 595 | public const int abc_ic_clear_search_api_disabled_holo_light = 2130837530; 596 | 597 | // aapt resource value: 0x7f02001b 598 | public const int abc_ic_clear_search_api_holo_light = 2130837531; 599 | 600 | // aapt resource value: 0x7f02001c 601 | public const int abc_ic_commit_search_api_holo_dark = 2130837532; 602 | 603 | // aapt resource value: 0x7f02001d 604 | public const int abc_ic_commit_search_api_holo_light = 2130837533; 605 | 606 | // aapt resource value: 0x7f02001e 607 | public const int abc_ic_go = 2130837534; 608 | 609 | // aapt resource value: 0x7f02001f 610 | public const int abc_ic_go_search_api_holo_light = 2130837535; 611 | 612 | // aapt resource value: 0x7f020020 613 | public const int abc_ic_menu_moreoverflow_normal_holo_dark = 2130837536; 614 | 615 | // aapt resource value: 0x7f020021 616 | public const int abc_ic_menu_moreoverflow_normal_holo_light = 2130837537; 617 | 618 | // aapt resource value: 0x7f020022 619 | public const int abc_ic_menu_share_holo_dark = 2130837538; 620 | 621 | // aapt resource value: 0x7f020023 622 | public const int abc_ic_menu_share_holo_light = 2130837539; 623 | 624 | // aapt resource value: 0x7f020024 625 | public const int abc_ic_search = 2130837540; 626 | 627 | // aapt resource value: 0x7f020025 628 | public const int abc_ic_search_api_holo_light = 2130837541; 629 | 630 | // aapt resource value: 0x7f020026 631 | public const int abc_ic_voice_search = 2130837542; 632 | 633 | // aapt resource value: 0x7f020027 634 | public const int abc_ic_voice_search_api_holo_light = 2130837543; 635 | 636 | // aapt resource value: 0x7f020028 637 | public const int abc_item_background_holo_dark = 2130837544; 638 | 639 | // aapt resource value: 0x7f020029 640 | public const int abc_item_background_holo_light = 2130837545; 641 | 642 | // aapt resource value: 0x7f02002a 643 | public const int abc_list_divider_holo_dark = 2130837546; 644 | 645 | // aapt resource value: 0x7f02002b 646 | public const int abc_list_divider_holo_light = 2130837547; 647 | 648 | // aapt resource value: 0x7f02002c 649 | public const int abc_list_focused_holo = 2130837548; 650 | 651 | // aapt resource value: 0x7f02002d 652 | public const int abc_list_longpressed_holo = 2130837549; 653 | 654 | // aapt resource value: 0x7f02002e 655 | public const int abc_list_pressed_holo_dark = 2130837550; 656 | 657 | // aapt resource value: 0x7f02002f 658 | public const int abc_list_pressed_holo_light = 2130837551; 659 | 660 | // aapt resource value: 0x7f020030 661 | public const int abc_list_selector_background_transition_holo_dark = 2130837552; 662 | 663 | // aapt resource value: 0x7f020031 664 | public const int abc_list_selector_background_transition_holo_light = 2130837553; 665 | 666 | // aapt resource value: 0x7f020032 667 | public const int abc_list_selector_disabled_holo_dark = 2130837554; 668 | 669 | // aapt resource value: 0x7f020033 670 | public const int abc_list_selector_disabled_holo_light = 2130837555; 671 | 672 | // aapt resource value: 0x7f020034 673 | public const int abc_list_selector_holo_dark = 2130837556; 674 | 675 | // aapt resource value: 0x7f020035 676 | public const int abc_list_selector_holo_light = 2130837557; 677 | 678 | // aapt resource value: 0x7f020036 679 | public const int abc_menu_dropdown_panel_holo_dark = 2130837558; 680 | 681 | // aapt resource value: 0x7f020037 682 | public const int abc_menu_dropdown_panel_holo_light = 2130837559; 683 | 684 | // aapt resource value: 0x7f020038 685 | public const int abc_menu_hardkey_panel_holo_dark = 2130837560; 686 | 687 | // aapt resource value: 0x7f020039 688 | public const int abc_menu_hardkey_panel_holo_light = 2130837561; 689 | 690 | // aapt resource value: 0x7f02003a 691 | public const int abc_search_dropdown_dark = 2130837562; 692 | 693 | // aapt resource value: 0x7f02003b 694 | public const int abc_search_dropdown_light = 2130837563; 695 | 696 | // aapt resource value: 0x7f02003c 697 | public const int abc_spinner_ab_default_holo_dark = 2130837564; 698 | 699 | // aapt resource value: 0x7f02003d 700 | public const int abc_spinner_ab_default_holo_light = 2130837565; 701 | 702 | // aapt resource value: 0x7f02003e 703 | public const int abc_spinner_ab_disabled_holo_dark = 2130837566; 704 | 705 | // aapt resource value: 0x7f02003f 706 | public const int abc_spinner_ab_disabled_holo_light = 2130837567; 707 | 708 | // aapt resource value: 0x7f020040 709 | public const int abc_spinner_ab_focused_holo_dark = 2130837568; 710 | 711 | // aapt resource value: 0x7f020041 712 | public const int abc_spinner_ab_focused_holo_light = 2130837569; 713 | 714 | // aapt resource value: 0x7f020042 715 | public const int abc_spinner_ab_holo_dark = 2130837570; 716 | 717 | // aapt resource value: 0x7f020043 718 | public const int abc_spinner_ab_holo_light = 2130837571; 719 | 720 | // aapt resource value: 0x7f020044 721 | public const int abc_spinner_ab_pressed_holo_dark = 2130837572; 722 | 723 | // aapt resource value: 0x7f020045 724 | public const int abc_spinner_ab_pressed_holo_light = 2130837573; 725 | 726 | // aapt resource value: 0x7f020046 727 | public const int abc_tab_indicator_ab_holo = 2130837574; 728 | 729 | // aapt resource value: 0x7f020047 730 | public const int abc_tab_selected_focused_holo = 2130837575; 731 | 732 | // aapt resource value: 0x7f020048 733 | public const int abc_tab_selected_holo = 2130837576; 734 | 735 | // aapt resource value: 0x7f020049 736 | public const int abc_tab_selected_pressed_holo = 2130837577; 737 | 738 | // aapt resource value: 0x7f02004a 739 | public const int abc_tab_unselected_pressed_holo = 2130837578; 740 | 741 | // aapt resource value: 0x7f02004b 742 | public const int abc_textfield_search_default_holo_dark = 2130837579; 743 | 744 | // aapt resource value: 0x7f02004c 745 | public const int abc_textfield_search_default_holo_light = 2130837580; 746 | 747 | // aapt resource value: 0x7f02004d 748 | public const int abc_textfield_search_right_default_holo_dark = 2130837581; 749 | 750 | // aapt resource value: 0x7f02004e 751 | public const int abc_textfield_search_right_default_holo_light = 2130837582; 752 | 753 | // aapt resource value: 0x7f02004f 754 | public const int abc_textfield_search_right_selected_holo_dark = 2130837583; 755 | 756 | // aapt resource value: 0x7f020050 757 | public const int abc_textfield_search_right_selected_holo_light = 2130837584; 758 | 759 | // aapt resource value: 0x7f020051 760 | public const int abc_textfield_search_selected_holo_dark = 2130837585; 761 | 762 | // aapt resource value: 0x7f020052 763 | public const int abc_textfield_search_selected_holo_light = 2130837586; 764 | 765 | // aapt resource value: 0x7f020053 766 | public const int abc_textfield_searchview_holo_dark = 2130837587; 767 | 768 | // aapt resource value: 0x7f020054 769 | public const int abc_textfield_searchview_holo_light = 2130837588; 770 | 771 | // aapt resource value: 0x7f020055 772 | public const int abc_textfield_searchview_right_holo_dark = 2130837589; 773 | 774 | // aapt resource value: 0x7f020056 775 | public const int abc_textfield_searchview_right_holo_light = 2130837590; 776 | 777 | // aapt resource value: 0x7f020057 778 | public const int Icon = 2130837591; 779 | 780 | static Drawable() 781 | { 782 | global::Android.Runtime.ResourceIdManager.UpdateIdValues(); 783 | } 784 | 785 | private Drawable() 786 | { 787 | } 788 | } 789 | 790 | public partial class Id 791 | { 792 | 793 | // aapt resource value: 0x7f05001c 794 | public const int action_bar = 2131034140; 795 | 796 | // aapt resource value: 0x7f050015 797 | public const int action_bar_activity_content = 2131034133; 798 | 799 | // aapt resource value: 0x7f05001b 800 | public const int action_bar_container = 2131034139; 801 | 802 | // aapt resource value: 0x7f05001f 803 | public const int action_bar_overlay_layout = 2131034143; 804 | 805 | // aapt resource value: 0x7f05001a 806 | public const int action_bar_root = 2131034138; 807 | 808 | // aapt resource value: 0x7f050023 809 | public const int action_bar_subtitle = 2131034147; 810 | 811 | // aapt resource value: 0x7f050022 812 | public const int action_bar_title = 2131034146; 813 | 814 | // aapt resource value: 0x7f05001d 815 | public const int action_context_bar = 2131034141; 816 | 817 | // aapt resource value: 0x7f050016 818 | public const int action_menu_divider = 2131034134; 819 | 820 | // aapt resource value: 0x7f050017 821 | public const int action_menu_presenter = 2131034135; 822 | 823 | // aapt resource value: 0x7f050024 824 | public const int action_mode_close_button = 2131034148; 825 | 826 | // aapt resource value: 0x7f05003f 827 | public const int action_search = 2131034175; 828 | 829 | // aapt resource value: 0x7f050025 830 | public const int activity_chooser_view_content = 2131034149; 831 | 832 | // aapt resource value: 0x7f05000b 833 | public const int always = 2131034123; 834 | 835 | // aapt resource value: 0x7f050011 836 | public const int beginning = 2131034129; 837 | 838 | // aapt resource value: 0x7f05002d 839 | public const int checkbox = 2131034157; 840 | 841 | // aapt resource value: 0x7f05003c 842 | public const int chemImage = 2131034172; 843 | 844 | // aapt resource value: 0x7f05003d 845 | public const int chemName = 2131034173; 846 | 847 | // aapt resource value: 0x7f05000d 848 | public const int collapseActionView = 2131034125; 849 | 850 | // aapt resource value: 0x7f050028 851 | public const int default_activity_button = 2131034152; 852 | 853 | // aapt resource value: 0x7f05000e 854 | public const int dialog = 2131034126; 855 | 856 | // aapt resource value: 0x7f050008 857 | public const int disableHome = 2131034120; 858 | 859 | // aapt resource value: 0x7f05000f 860 | public const int dropdown = 2131034127; 861 | 862 | // aapt resource value: 0x7f050030 863 | public const int edit_query = 2131034160; 864 | 865 | // aapt resource value: 0x7f050013 866 | public const int end = 2131034131; 867 | 868 | // aapt resource value: 0x7f050026 869 | public const int expand_activities_button = 2131034150; 870 | 871 | // aapt resource value: 0x7f05002c 872 | public const int expanded_menu = 2131034156; 873 | 874 | // aapt resource value: 0x7f050014 875 | public const int home = 2131034132; 876 | 877 | // aapt resource value: 0x7f050005 878 | public const int homeAsUp = 2131034117; 879 | 880 | // aapt resource value: 0x7f05002a 881 | public const int icon = 2131034154; 882 | 883 | // aapt resource value: 0x7f05000a 884 | public const int ifRoom = 2131034122; 885 | 886 | // aapt resource value: 0x7f050027 887 | public const int image = 2131034151; 888 | 889 | // aapt resource value: 0x7f050001 890 | public const int listMode = 2131034113; 891 | 892 | // aapt resource value: 0x7f05003e 893 | public const int listView = 2131034174; 894 | 895 | // aapt resource value: 0x7f050029 896 | public const int list_item = 2131034153; 897 | 898 | // aapt resource value: 0x7f050012 899 | public const int middle = 2131034130; 900 | 901 | // aapt resource value: 0x7f050009 902 | public const int never = 2131034121; 903 | 904 | // aapt resource value: 0x7f050010 905 | public const int none = 2131034128; 906 | 907 | // aapt resource value: 0x7f050000 908 | public const int normal = 2131034112; 909 | 910 | // aapt resource value: 0x7f050018 911 | public const int progress_circular = 2131034136; 912 | 913 | // aapt resource value: 0x7f050019 914 | public const int progress_horizontal = 2131034137; 915 | 916 | // aapt resource value: 0x7f05002f 917 | public const int radio = 2131034159; 918 | 919 | // aapt resource value: 0x7f050032 920 | public const int search_badge = 2131034162; 921 | 922 | // aapt resource value: 0x7f050031 923 | public const int search_bar = 2131034161; 924 | 925 | // aapt resource value: 0x7f050033 926 | public const int search_button = 2131034163; 927 | 928 | // aapt resource value: 0x7f050038 929 | public const int search_close_btn = 2131034168; 930 | 931 | // aapt resource value: 0x7f050034 932 | public const int search_edit_frame = 2131034164; 933 | 934 | // aapt resource value: 0x7f05003a 935 | public const int search_go_btn = 2131034170; 936 | 937 | // aapt resource value: 0x7f050035 938 | public const int search_mag_icon = 2131034165; 939 | 940 | // aapt resource value: 0x7f050036 941 | public const int search_plate = 2131034166; 942 | 943 | // aapt resource value: 0x7f050037 944 | public const int search_src_text = 2131034167; 945 | 946 | // aapt resource value: 0x7f05003b 947 | public const int search_voice_btn = 2131034171; 948 | 949 | // aapt resource value: 0x7f05002e 950 | public const int shortcut = 2131034158; 951 | 952 | // aapt resource value: 0x7f050007 953 | public const int showCustom = 2131034119; 954 | 955 | // aapt resource value: 0x7f050004 956 | public const int showHome = 2131034116; 957 | 958 | // aapt resource value: 0x7f050006 959 | public const int showTitle = 2131034118; 960 | 961 | // aapt resource value: 0x7f05001e 962 | public const int split_action_bar = 2131034142; 963 | 964 | // aapt resource value: 0x7f050039 965 | public const int submit_area = 2131034169; 966 | 967 | // aapt resource value: 0x7f050002 968 | public const int tabMode = 2131034114; 969 | 970 | // aapt resource value: 0x7f05002b 971 | public const int title = 2131034155; 972 | 973 | // aapt resource value: 0x7f050020 974 | public const int top_action_bar = 2131034144; 975 | 976 | // aapt resource value: 0x7f050021 977 | public const int up = 2131034145; 978 | 979 | // aapt resource value: 0x7f050003 980 | public const int useLogo = 2131034115; 981 | 982 | // aapt resource value: 0x7f05000c 983 | public const int withText = 2131034124; 984 | 985 | static Id() 986 | { 987 | global::Android.Runtime.ResourceIdManager.UpdateIdValues(); 988 | } 989 | 990 | private Id() 991 | { 992 | } 993 | } 994 | 995 | public partial class Integer 996 | { 997 | 998 | // aapt resource value: 0x7f090000 999 | public const int abc_max_action_buttons = 2131296256; 1000 | 1001 | static Integer() 1002 | { 1003 | global::Android.Runtime.ResourceIdManager.UpdateIdValues(); 1004 | } 1005 | 1006 | private Integer() 1007 | { 1008 | } 1009 | } 1010 | 1011 | public partial class Layout 1012 | { 1013 | 1014 | // aapt resource value: 0x7f030000 1015 | public const int abc_action_bar_decor = 2130903040; 1016 | 1017 | // aapt resource value: 0x7f030001 1018 | public const int abc_action_bar_decor_include = 2130903041; 1019 | 1020 | // aapt resource value: 0x7f030002 1021 | public const int abc_action_bar_decor_overlay = 2130903042; 1022 | 1023 | // aapt resource value: 0x7f030003 1024 | public const int abc_action_bar_home = 2130903043; 1025 | 1026 | // aapt resource value: 0x7f030004 1027 | public const int abc_action_bar_tab = 2130903044; 1028 | 1029 | // aapt resource value: 0x7f030005 1030 | public const int abc_action_bar_tabbar = 2130903045; 1031 | 1032 | // aapt resource value: 0x7f030006 1033 | public const int abc_action_bar_title_item = 2130903046; 1034 | 1035 | // aapt resource value: 0x7f030007 1036 | public const int abc_action_bar_view_list_nav_layout = 2130903047; 1037 | 1038 | // aapt resource value: 0x7f030008 1039 | public const int abc_action_menu_item_layout = 2130903048; 1040 | 1041 | // aapt resource value: 0x7f030009 1042 | public const int abc_action_menu_layout = 2130903049; 1043 | 1044 | // aapt resource value: 0x7f03000a 1045 | public const int abc_action_mode_bar = 2130903050; 1046 | 1047 | // aapt resource value: 0x7f03000b 1048 | public const int abc_action_mode_close_item = 2130903051; 1049 | 1050 | // aapt resource value: 0x7f03000c 1051 | public const int abc_activity_chooser_view = 2130903052; 1052 | 1053 | // aapt resource value: 0x7f03000d 1054 | public const int abc_activity_chooser_view_include = 2130903053; 1055 | 1056 | // aapt resource value: 0x7f03000e 1057 | public const int abc_activity_chooser_view_list_item = 2130903054; 1058 | 1059 | // aapt resource value: 0x7f03000f 1060 | public const int abc_expanded_menu_layout = 2130903055; 1061 | 1062 | // aapt resource value: 0x7f030010 1063 | public const int abc_list_menu_item_checkbox = 2130903056; 1064 | 1065 | // aapt resource value: 0x7f030011 1066 | public const int abc_list_menu_item_icon = 2130903057; 1067 | 1068 | // aapt resource value: 0x7f030012 1069 | public const int abc_list_menu_item_layout = 2130903058; 1070 | 1071 | // aapt resource value: 0x7f030013 1072 | public const int abc_list_menu_item_radio = 2130903059; 1073 | 1074 | // aapt resource value: 0x7f030014 1075 | public const int abc_popup_menu_item_layout = 2130903060; 1076 | 1077 | // aapt resource value: 0x7f030015 1078 | public const int abc_search_dropdown_item_icons_2line = 2130903061; 1079 | 1080 | // aapt resource value: 0x7f030016 1081 | public const int abc_search_view = 2130903062; 1082 | 1083 | // aapt resource value: 0x7f030017 1084 | public const int Chemical = 2130903063; 1085 | 1086 | // aapt resource value: 0x7f030018 1087 | public const int Main = 2130903064; 1088 | 1089 | // aapt resource value: 0x7f030019 1090 | public const int support_simple_spinner_dropdown_item = 2130903065; 1091 | 1092 | static Layout() 1093 | { 1094 | global::Android.Runtime.ResourceIdManager.UpdateIdValues(); 1095 | } 1096 | 1097 | private Layout() 1098 | { 1099 | } 1100 | } 1101 | 1102 | public partial class Menu 1103 | { 1104 | 1105 | // aapt resource value: 0x7f0c0000 1106 | public const int main = 2131492864; 1107 | 1108 | static Menu() 1109 | { 1110 | global::Android.Runtime.ResourceIdManager.UpdateIdValues(); 1111 | } 1112 | 1113 | private Menu() 1114 | { 1115 | } 1116 | } 1117 | 1118 | public partial class String 1119 | { 1120 | 1121 | // aapt resource value: 0x7f0a0001 1122 | public const int abc_action_bar_home_description = 2131361793; 1123 | 1124 | // aapt resource value: 0x7f0a0002 1125 | public const int abc_action_bar_up_description = 2131361794; 1126 | 1127 | // aapt resource value: 0x7f0a0003 1128 | public const int abc_action_menu_overflow_description = 2131361795; 1129 | 1130 | // aapt resource value: 0x7f0a0000 1131 | public const int abc_action_mode_done = 2131361792; 1132 | 1133 | // aapt resource value: 0x7f0a000a 1134 | public const int abc_activity_chooser_view_see_all = 2131361802; 1135 | 1136 | // aapt resource value: 0x7f0a0009 1137 | public const int abc_activitychooserview_choose_application = 2131361801; 1138 | 1139 | // aapt resource value: 0x7f0a0006 1140 | public const int abc_searchview_description_clear = 2131361798; 1141 | 1142 | // aapt resource value: 0x7f0a0005 1143 | public const int abc_searchview_description_query = 2131361797; 1144 | 1145 | // aapt resource value: 0x7f0a0004 1146 | public const int abc_searchview_description_search = 2131361796; 1147 | 1148 | // aapt resource value: 0x7f0a0007 1149 | public const int abc_searchview_description_submit = 2131361799; 1150 | 1151 | // aapt resource value: 0x7f0a0008 1152 | public const int abc_searchview_description_voice = 2131361800; 1153 | 1154 | // aapt resource value: 0x7f0a000c 1155 | public const int abc_shareactionprovider_share_with = 2131361804; 1156 | 1157 | // aapt resource value: 0x7f0a000b 1158 | public const int abc_shareactionprovider_share_with_application = 2131361803; 1159 | 1160 | static String() 1161 | { 1162 | global::Android.Runtime.ResourceIdManager.UpdateIdValues(); 1163 | } 1164 | 1165 | private String() 1166 | { 1167 | } 1168 | } 1169 | 1170 | public partial class Style 1171 | { 1172 | 1173 | // aapt resource value: 0x7f0b0063 1174 | public const int TextAppearance_AppCompat_Base_CompactMenu_Dialog = 2131427427; 1175 | 1176 | // aapt resource value: 0x7f0b006d 1177 | public const int TextAppearance_AppCompat_Base_SearchResult = 2131427437; 1178 | 1179 | // aapt resource value: 0x7f0b006f 1180 | public const int TextAppearance_AppCompat_Base_SearchResult_Subtitle = 2131427439; 1181 | 1182 | // aapt resource value: 0x7f0b006e 1183 | public const int TextAppearance_AppCompat_Base_SearchResult_Title = 2131427438; 1184 | 1185 | // aapt resource value: 0x7f0b0069 1186 | public const int TextAppearance_AppCompat_Base_Widget_PopupMenu_Large = 2131427433; 1187 | 1188 | // aapt resource value: 0x7f0b006a 1189 | public const int TextAppearance_AppCompat_Base_Widget_PopupMenu_Small = 2131427434; 1190 | 1191 | // aapt resource value: 0x7f0b0070 1192 | public const int TextAppearance_AppCompat_Light_Base_SearchResult = 2131427440; 1193 | 1194 | // aapt resource value: 0x7f0b0072 1195 | public const int TextAppearance_AppCompat_Light_Base_SearchResult_Subtitle = 2131427442; 1196 | 1197 | // aapt resource value: 0x7f0b0071 1198 | public const int TextAppearance_AppCompat_Light_Base_SearchResult_Title = 2131427441; 1199 | 1200 | // aapt resource value: 0x7f0b006b 1201 | public const int TextAppearance_AppCompat_Light_Base_Widget_PopupMenu_Large = 2131427435; 1202 | 1203 | // aapt resource value: 0x7f0b006c 1204 | public const int TextAppearance_AppCompat_Light_Base_Widget_PopupMenu_Small = 2131427436; 1205 | 1206 | // aapt resource value: 0x7f0b0035 1207 | public const int TextAppearance_AppCompat_Light_SearchResult_Subtitle = 2131427381; 1208 | 1209 | // aapt resource value: 0x7f0b0034 1210 | public const int TextAppearance_AppCompat_Light_SearchResult_Title = 2131427380; 1211 | 1212 | // aapt resource value: 0x7f0b0030 1213 | public const int TextAppearance_AppCompat_Light_Widget_PopupMenu_Large = 2131427376; 1214 | 1215 | // aapt resource value: 0x7f0b0031 1216 | public const int TextAppearance_AppCompat_Light_Widget_PopupMenu_Small = 2131427377; 1217 | 1218 | // aapt resource value: 0x7f0b0033 1219 | public const int TextAppearance_AppCompat_SearchResult_Subtitle = 2131427379; 1220 | 1221 | // aapt resource value: 0x7f0b0032 1222 | public const int TextAppearance_AppCompat_SearchResult_Title = 2131427378; 1223 | 1224 | // aapt resource value: 0x7f0b001a 1225 | public const int TextAppearance_AppCompat_Widget_ActionBar_Menu = 2131427354; 1226 | 1227 | // aapt resource value: 0x7f0b0006 1228 | public const int TextAppearance_AppCompat_Widget_ActionBar_Subtitle = 2131427334; 1229 | 1230 | // aapt resource value: 0x7f0b0008 1231 | public const int TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse = 2131427336; 1232 | 1233 | // aapt resource value: 0x7f0b0005 1234 | public const int TextAppearance_AppCompat_Widget_ActionBar_Title = 2131427333; 1235 | 1236 | // aapt resource value: 0x7f0b0007 1237 | public const int TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse = 2131427335; 1238 | 1239 | // aapt resource value: 0x7f0b001e 1240 | public const int TextAppearance_AppCompat_Widget_ActionMode_Subtitle = 2131427358; 1241 | 1242 | // aapt resource value: 0x7f0b0020 1243 | public const int TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse = 2131427360; 1244 | 1245 | // aapt resource value: 0x7f0b001d 1246 | public const int TextAppearance_AppCompat_Widget_ActionMode_Title = 2131427357; 1247 | 1248 | // aapt resource value: 0x7f0b001f 1249 | public const int TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse = 2131427359; 1250 | 1251 | // aapt resource value: 0x7f0b0054 1252 | public const int TextAppearance_AppCompat_Widget_Base_ActionBar_Menu = 2131427412; 1253 | 1254 | // aapt resource value: 0x7f0b0056 1255 | public const int TextAppearance_AppCompat_Widget_Base_ActionBar_Subtitle = 2131427414; 1256 | 1257 | // aapt resource value: 0x7f0b0058 1258 | public const int TextAppearance_AppCompat_Widget_Base_ActionBar_Subtitle_Inverse = 2131427416; 1259 | 1260 | // aapt resource value: 0x7f0b0055 1261 | public const int TextAppearance_AppCompat_Widget_Base_ActionBar_Title = 2131427413; 1262 | 1263 | // aapt resource value: 0x7f0b0057 1264 | public const int TextAppearance_AppCompat_Widget_Base_ActionBar_Title_Inverse = 2131427415; 1265 | 1266 | // aapt resource value: 0x7f0b0051 1267 | public const int TextAppearance_AppCompat_Widget_Base_ActionMode_Subtitle = 2131427409; 1268 | 1269 | // aapt resource value: 0x7f0b0053 1270 | public const int TextAppearance_AppCompat_Widget_Base_ActionMode_Subtitle_Inverse = 2131427411; 1271 | 1272 | // aapt resource value: 0x7f0b0050 1273 | public const int TextAppearance_AppCompat_Widget_Base_ActionMode_Title = 2131427408; 1274 | 1275 | // aapt resource value: 0x7f0b0052 1276 | public const int TextAppearance_AppCompat_Widget_Base_ActionMode_Title_Inverse = 2131427410; 1277 | 1278 | // aapt resource value: 0x7f0b0061 1279 | public const int TextAppearance_AppCompat_Widget_Base_DropDownItem = 2131427425; 1280 | 1281 | // aapt resource value: 0x7f0b0021 1282 | public const int TextAppearance_AppCompat_Widget_DropDownItem = 2131427361; 1283 | 1284 | // aapt resource value: 0x7f0b002e 1285 | public const int TextAppearance_AppCompat_Widget_PopupMenu_Large = 2131427374; 1286 | 1287 | // aapt resource value: 0x7f0b002f 1288 | public const int TextAppearance_AppCompat_Widget_PopupMenu_Small = 2131427375; 1289 | 1290 | // aapt resource value: 0x7f0b0062 1291 | public const int TextAppearance_Widget_AppCompat_Base_ExpandedMenu_Item = 2131427426; 1292 | 1293 | // aapt resource value: 0x7f0b0028 1294 | public const int TextAppearance_Widget_AppCompat_ExpandedMenu_Item = 2131427368; 1295 | 1296 | // aapt resource value: 0x7f0b0077 1297 | public const int Theme_AppCompat = 2131427447; 1298 | 1299 | // aapt resource value: 0x7f0b0081 1300 | public const int Theme_AppCompat_Base_CompactMenu = 2131427457; 1301 | 1302 | // aapt resource value: 0x7f0b0082 1303 | public const int Theme_AppCompat_Base_CompactMenu_Dialog = 2131427458; 1304 | 1305 | // aapt resource value: 0x7f0b007a 1306 | public const int Theme_AppCompat_CompactMenu = 2131427450; 1307 | 1308 | // aapt resource value: 0x7f0b007b 1309 | public const int Theme_AppCompat_CompactMenu_Dialog = 2131427451; 1310 | 1311 | // aapt resource value: 0x7f0b0078 1312 | public const int Theme_AppCompat_Light = 2131427448; 1313 | 1314 | // aapt resource value: 0x7f0b0079 1315 | public const int Theme_AppCompat_Light_DarkActionBar = 2131427449; 1316 | 1317 | // aapt resource value: 0x7f0b007c 1318 | public const int Theme_Base = 2131427452; 1319 | 1320 | // aapt resource value: 0x7f0b007e 1321 | public const int Theme_Base_AppCompat = 2131427454; 1322 | 1323 | // aapt resource value: 0x7f0b007f 1324 | public const int Theme_Base_AppCompat_Light = 2131427455; 1325 | 1326 | // aapt resource value: 0x7f0b0080 1327 | public const int Theme_Base_AppCompat_Light_DarkActionBar = 2131427456; 1328 | 1329 | // aapt resource value: 0x7f0b007d 1330 | public const int Theme_Base_Light = 2131427453; 1331 | 1332 | // aapt resource value: 0x7f0b0000 1333 | public const int Widget_AppCompat_ActionBar = 2131427328; 1334 | 1335 | // aapt resource value: 0x7f0b0002 1336 | public const int Widget_AppCompat_ActionBar_Solid = 2131427330; 1337 | 1338 | // aapt resource value: 0x7f0b0011 1339 | public const int Widget_AppCompat_ActionBar_TabBar = 2131427345; 1340 | 1341 | // aapt resource value: 0x7f0b0017 1342 | public const int Widget_AppCompat_ActionBar_TabText = 2131427351; 1343 | 1344 | // aapt resource value: 0x7f0b0014 1345 | public const int Widget_AppCompat_ActionBar_TabView = 2131427348; 1346 | 1347 | // aapt resource value: 0x7f0b000b 1348 | public const int Widget_AppCompat_ActionButton = 2131427339; 1349 | 1350 | // aapt resource value: 0x7f0b000d 1351 | public const int Widget_AppCompat_ActionButton_CloseMode = 2131427341; 1352 | 1353 | // aapt resource value: 0x7f0b000f 1354 | public const int Widget_AppCompat_ActionButton_Overflow = 2131427343; 1355 | 1356 | // aapt resource value: 0x7f0b001b 1357 | public const int Widget_AppCompat_ActionMode = 2131427355; 1358 | 1359 | // aapt resource value: 0x7f0b0038 1360 | public const int Widget_AppCompat_ActivityChooserView = 2131427384; 1361 | 1362 | // aapt resource value: 0x7f0b0036 1363 | public const int Widget_AppCompat_AutoCompleteTextView = 2131427382; 1364 | 1365 | // aapt resource value: 0x7f0b003a 1366 | public const int Widget_AppCompat_Base_ActionBar = 2131427386; 1367 | 1368 | // aapt resource value: 0x7f0b003c 1369 | public const int Widget_AppCompat_Base_ActionBar_Solid = 2131427388; 1370 | 1371 | // aapt resource value: 0x7f0b0045 1372 | public const int Widget_AppCompat_Base_ActionBar_TabBar = 2131427397; 1373 | 1374 | // aapt resource value: 0x7f0b004b 1375 | public const int Widget_AppCompat_Base_ActionBar_TabText = 2131427403; 1376 | 1377 | // aapt resource value: 0x7f0b0048 1378 | public const int Widget_AppCompat_Base_ActionBar_TabView = 2131427400; 1379 | 1380 | // aapt resource value: 0x7f0b003f 1381 | public const int Widget_AppCompat_Base_ActionButton = 2131427391; 1382 | 1383 | // aapt resource value: 0x7f0b0041 1384 | public const int Widget_AppCompat_Base_ActionButton_CloseMode = 2131427393; 1385 | 1386 | // aapt resource value: 0x7f0b0043 1387 | public const int Widget_AppCompat_Base_ActionButton_Overflow = 2131427395; 1388 | 1389 | // aapt resource value: 0x7f0b004e 1390 | public const int Widget_AppCompat_Base_ActionMode = 2131427406; 1391 | 1392 | // aapt resource value: 0x7f0b0075 1393 | public const int Widget_AppCompat_Base_ActivityChooserView = 2131427445; 1394 | 1395 | // aapt resource value: 0x7f0b0073 1396 | public const int Widget_AppCompat_Base_AutoCompleteTextView = 2131427443; 1397 | 1398 | // aapt resource value: 0x7f0b005d 1399 | public const int Widget_AppCompat_Base_DropDownItem_Spinner = 2131427421; 1400 | 1401 | // aapt resource value: 0x7f0b0065 1402 | public const int Widget_AppCompat_Base_ListPopupWindow = 2131427429; 1403 | 1404 | // aapt resource value: 0x7f0b005f 1405 | public const int Widget_AppCompat_Base_ListView_DropDown = 2131427423; 1406 | 1407 | // aapt resource value: 0x7f0b0064 1408 | public const int Widget_AppCompat_Base_ListView_Menu = 2131427428; 1409 | 1410 | // aapt resource value: 0x7f0b0067 1411 | public const int Widget_AppCompat_Base_PopupMenu = 2131427431; 1412 | 1413 | // aapt resource value: 0x7f0b005a 1414 | public const int Widget_AppCompat_Base_ProgressBar = 2131427418; 1415 | 1416 | // aapt resource value: 0x7f0b0059 1417 | public const int Widget_AppCompat_Base_ProgressBar_Horizontal = 2131427417; 1418 | 1419 | // aapt resource value: 0x7f0b005b 1420 | public const int Widget_AppCompat_Base_Spinner = 2131427419; 1421 | 1422 | // aapt resource value: 0x7f0b0024 1423 | public const int Widget_AppCompat_DropDownItem_Spinner = 2131427364; 1424 | 1425 | // aapt resource value: 0x7f0b0001 1426 | public const int Widget_AppCompat_Light_ActionBar = 2131427329; 1427 | 1428 | // aapt resource value: 0x7f0b0003 1429 | public const int Widget_AppCompat_Light_ActionBar_Solid = 2131427331; 1430 | 1431 | // aapt resource value: 0x7f0b0004 1432 | public const int Widget_AppCompat_Light_ActionBar_Solid_Inverse = 2131427332; 1433 | 1434 | // aapt resource value: 0x7f0b0012 1435 | public const int Widget_AppCompat_Light_ActionBar_TabBar = 2131427346; 1436 | 1437 | // aapt resource value: 0x7f0b0013 1438 | public const int Widget_AppCompat_Light_ActionBar_TabBar_Inverse = 2131427347; 1439 | 1440 | // aapt resource value: 0x7f0b0018 1441 | public const int Widget_AppCompat_Light_ActionBar_TabText = 2131427352; 1442 | 1443 | // aapt resource value: 0x7f0b0019 1444 | public const int Widget_AppCompat_Light_ActionBar_TabText_Inverse = 2131427353; 1445 | 1446 | // aapt resource value: 0x7f0b0015 1447 | public const int Widget_AppCompat_Light_ActionBar_TabView = 2131427349; 1448 | 1449 | // aapt resource value: 0x7f0b0016 1450 | public const int Widget_AppCompat_Light_ActionBar_TabView_Inverse = 2131427350; 1451 | 1452 | // aapt resource value: 0x7f0b000c 1453 | public const int Widget_AppCompat_Light_ActionButton = 2131427340; 1454 | 1455 | // aapt resource value: 0x7f0b000e 1456 | public const int Widget_AppCompat_Light_ActionButton_CloseMode = 2131427342; 1457 | 1458 | // aapt resource value: 0x7f0b0010 1459 | public const int Widget_AppCompat_Light_ActionButton_Overflow = 2131427344; 1460 | 1461 | // aapt resource value: 0x7f0b001c 1462 | public const int Widget_AppCompat_Light_ActionMode_Inverse = 2131427356; 1463 | 1464 | // aapt resource value: 0x7f0b0039 1465 | public const int Widget_AppCompat_Light_ActivityChooserView = 2131427385; 1466 | 1467 | // aapt resource value: 0x7f0b0037 1468 | public const int Widget_AppCompat_Light_AutoCompleteTextView = 2131427383; 1469 | 1470 | // aapt resource value: 0x7f0b003b 1471 | public const int Widget_AppCompat_Light_Base_ActionBar = 2131427387; 1472 | 1473 | // aapt resource value: 0x7f0b003d 1474 | public const int Widget_AppCompat_Light_Base_ActionBar_Solid = 2131427389; 1475 | 1476 | // aapt resource value: 0x7f0b003e 1477 | public const int Widget_AppCompat_Light_Base_ActionBar_Solid_Inverse = 2131427390; 1478 | 1479 | // aapt resource value: 0x7f0b0046 1480 | public const int Widget_AppCompat_Light_Base_ActionBar_TabBar = 2131427398; 1481 | 1482 | // aapt resource value: 0x7f0b0047 1483 | public const int Widget_AppCompat_Light_Base_ActionBar_TabBar_Inverse = 2131427399; 1484 | 1485 | // aapt resource value: 0x7f0b004c 1486 | public const int Widget_AppCompat_Light_Base_ActionBar_TabText = 2131427404; 1487 | 1488 | // aapt resource value: 0x7f0b004d 1489 | public const int Widget_AppCompat_Light_Base_ActionBar_TabText_Inverse = 2131427405; 1490 | 1491 | // aapt resource value: 0x7f0b0049 1492 | public const int Widget_AppCompat_Light_Base_ActionBar_TabView = 2131427401; 1493 | 1494 | // aapt resource value: 0x7f0b004a 1495 | public const int Widget_AppCompat_Light_Base_ActionBar_TabView_Inverse = 2131427402; 1496 | 1497 | // aapt resource value: 0x7f0b0040 1498 | public const int Widget_AppCompat_Light_Base_ActionButton = 2131427392; 1499 | 1500 | // aapt resource value: 0x7f0b0042 1501 | public const int Widget_AppCompat_Light_Base_ActionButton_CloseMode = 2131427394; 1502 | 1503 | // aapt resource value: 0x7f0b0044 1504 | public const int Widget_AppCompat_Light_Base_ActionButton_Overflow = 2131427396; 1505 | 1506 | // aapt resource value: 0x7f0b004f 1507 | public const int Widget_AppCompat_Light_Base_ActionMode_Inverse = 2131427407; 1508 | 1509 | // aapt resource value: 0x7f0b0076 1510 | public const int Widget_AppCompat_Light_Base_ActivityChooserView = 2131427446; 1511 | 1512 | // aapt resource value: 0x7f0b0074 1513 | public const int Widget_AppCompat_Light_Base_AutoCompleteTextView = 2131427444; 1514 | 1515 | // aapt resource value: 0x7f0b005e 1516 | public const int Widget_AppCompat_Light_Base_DropDownItem_Spinner = 2131427422; 1517 | 1518 | // aapt resource value: 0x7f0b0066 1519 | public const int Widget_AppCompat_Light_Base_ListPopupWindow = 2131427430; 1520 | 1521 | // aapt resource value: 0x7f0b0060 1522 | public const int Widget_AppCompat_Light_Base_ListView_DropDown = 2131427424; 1523 | 1524 | // aapt resource value: 0x7f0b0068 1525 | public const int Widget_AppCompat_Light_Base_PopupMenu = 2131427432; 1526 | 1527 | // aapt resource value: 0x7f0b005c 1528 | public const int Widget_AppCompat_Light_Base_Spinner = 2131427420; 1529 | 1530 | // aapt resource value: 0x7f0b0025 1531 | public const int Widget_AppCompat_Light_DropDownItem_Spinner = 2131427365; 1532 | 1533 | // aapt resource value: 0x7f0b002a 1534 | public const int Widget_AppCompat_Light_ListPopupWindow = 2131427370; 1535 | 1536 | // aapt resource value: 0x7f0b0027 1537 | public const int Widget_AppCompat_Light_ListView_DropDown = 2131427367; 1538 | 1539 | // aapt resource value: 0x7f0b002c 1540 | public const int Widget_AppCompat_Light_PopupMenu = 2131427372; 1541 | 1542 | // aapt resource value: 0x7f0b0023 1543 | public const int Widget_AppCompat_Light_Spinner_DropDown_ActionBar = 2131427363; 1544 | 1545 | // aapt resource value: 0x7f0b0029 1546 | public const int Widget_AppCompat_ListPopupWindow = 2131427369; 1547 | 1548 | // aapt resource value: 0x7f0b0026 1549 | public const int Widget_AppCompat_ListView_DropDown = 2131427366; 1550 | 1551 | // aapt resource value: 0x7f0b002d 1552 | public const int Widget_AppCompat_ListView_Menu = 2131427373; 1553 | 1554 | // aapt resource value: 0x7f0b002b 1555 | public const int Widget_AppCompat_PopupMenu = 2131427371; 1556 | 1557 | // aapt resource value: 0x7f0b000a 1558 | public const int Widget_AppCompat_ProgressBar = 2131427338; 1559 | 1560 | // aapt resource value: 0x7f0b0009 1561 | public const int Widget_AppCompat_ProgressBar_Horizontal = 2131427337; 1562 | 1563 | // aapt resource value: 0x7f0b0022 1564 | public const int Widget_AppCompat_Spinner_DropDown_ActionBar = 2131427362; 1565 | 1566 | static Style() 1567 | { 1568 | global::Android.Runtime.ResourceIdManager.UpdateIdValues(); 1569 | } 1570 | 1571 | private Style() 1572 | { 1573 | } 1574 | } 1575 | 1576 | public partial class Styleable 1577 | { 1578 | 1579 | public static int[] ActionBar = new int[] { 1580 | 2130772001, 1581 | 2130772002, 1582 | 2130772003, 1583 | 2130772004, 1584 | 2130772005, 1585 | 2130772006, 1586 | 2130772007, 1587 | 2130772008, 1588 | 2130772009, 1589 | 2130772010, 1590 | 2130772011, 1591 | 2130772012, 1592 | 2130772013, 1593 | 2130772014, 1594 | 2130772015, 1595 | 2130772016, 1596 | 2130772017, 1597 | 2130772018, 1598 | 2130772019}; 1599 | 1600 | // aapt resource value: 10 1601 | public const int ActionBar_background = 10; 1602 | 1603 | // aapt resource value: 12 1604 | public const int ActionBar_backgroundSplit = 12; 1605 | 1606 | // aapt resource value: 11 1607 | public const int ActionBar_backgroundStacked = 11; 1608 | 1609 | // aapt resource value: 13 1610 | public const int ActionBar_customNavigationLayout = 13; 1611 | 1612 | // aapt resource value: 3 1613 | public const int ActionBar_displayOptions = 3; 1614 | 1615 | // aapt resource value: 9 1616 | public const int ActionBar_divider = 9; 1617 | 1618 | // aapt resource value: 1 1619 | public const int ActionBar_height = 1; 1620 | 1621 | // aapt resource value: 14 1622 | public const int ActionBar_homeLayout = 14; 1623 | 1624 | // aapt resource value: 7 1625 | public const int ActionBar_icon = 7; 1626 | 1627 | // aapt resource value: 16 1628 | public const int ActionBar_indeterminateProgressStyle = 16; 1629 | 1630 | // aapt resource value: 18 1631 | public const int ActionBar_itemPadding = 18; 1632 | 1633 | // aapt resource value: 8 1634 | public const int ActionBar_logo = 8; 1635 | 1636 | // aapt resource value: 2 1637 | public const int ActionBar_navigationMode = 2; 1638 | 1639 | // aapt resource value: 17 1640 | public const int ActionBar_progressBarPadding = 17; 1641 | 1642 | // aapt resource value: 15 1643 | public const int ActionBar_progressBarStyle = 15; 1644 | 1645 | // aapt resource value: 4 1646 | public const int ActionBar_subtitle = 4; 1647 | 1648 | // aapt resource value: 6 1649 | public const int ActionBar_subtitleTextStyle = 6; 1650 | 1651 | // aapt resource value: 0 1652 | public const int ActionBar_title = 0; 1653 | 1654 | // aapt resource value: 5 1655 | public const int ActionBar_titleTextStyle = 5; 1656 | 1657 | public static int[] ActionBarLayout = new int[] { 1658 | 16842931}; 1659 | 1660 | // aapt resource value: 0 1661 | public const int ActionBarLayout_android_layout_gravity = 0; 1662 | 1663 | public static int[] ActionBarWindow = new int[] { 1664 | 2130771968, 1665 | 2130771969, 1666 | 2130771970}; 1667 | 1668 | // aapt resource value: 0 1669 | public const int ActionBarWindow_windowActionBar = 0; 1670 | 1671 | // aapt resource value: 1 1672 | public const int ActionBarWindow_windowActionBarOverlay = 1; 1673 | 1674 | // aapt resource value: 2 1675 | public const int ActionBarWindow_windowSplitActionBar = 2; 1676 | 1677 | public static int[] ActionMenuItemView = new int[] { 1678 | 16843071}; 1679 | 1680 | // aapt resource value: 0 1681 | public const int ActionMenuItemView_android_minWidth = 0; 1682 | 1683 | public static int[] ActionMenuView; 1684 | 1685 | public static int[] ActionMode = new int[] { 1686 | 2130772002, 1687 | 2130772006, 1688 | 2130772007, 1689 | 2130772011, 1690 | 2130772013}; 1691 | 1692 | // aapt resource value: 3 1693 | public const int ActionMode_background = 3; 1694 | 1695 | // aapt resource value: 4 1696 | public const int ActionMode_backgroundSplit = 4; 1697 | 1698 | // aapt resource value: 0 1699 | public const int ActionMode_height = 0; 1700 | 1701 | // aapt resource value: 2 1702 | public const int ActionMode_subtitleTextStyle = 2; 1703 | 1704 | // aapt resource value: 1 1705 | public const int ActionMode_titleTextStyle = 1; 1706 | 1707 | public static int[] ActivityChooserView = new int[] { 1708 | 2130772070, 1709 | 2130772071}; 1710 | 1711 | // aapt resource value: 1 1712 | public const int ActivityChooserView_expandActivityOverflowButtonDrawable = 1; 1713 | 1714 | // aapt resource value: 0 1715 | public const int ActivityChooserView_initialActivityCount = 0; 1716 | 1717 | public static int[] CompatTextView = new int[] { 1718 | 2130772073}; 1719 | 1720 | // aapt resource value: 0 1721 | public const int CompatTextView_textAllCaps = 0; 1722 | 1723 | public static int[] LinearLayoutICS = new int[] { 1724 | 2130772010, 1725 | 2130772049, 1726 | 2130772050}; 1727 | 1728 | // aapt resource value: 0 1729 | public const int LinearLayoutICS_divider = 0; 1730 | 1731 | // aapt resource value: 2 1732 | public const int LinearLayoutICS_dividerPadding = 2; 1733 | 1734 | // aapt resource value: 1 1735 | public const int LinearLayoutICS_showDividers = 1; 1736 | 1737 | public static int[] MenuGroup = new int[] { 1738 | 16842766, 1739 | 16842960, 1740 | 16843156, 1741 | 16843230, 1742 | 16843231, 1743 | 16843232}; 1744 | 1745 | // aapt resource value: 5 1746 | public const int MenuGroup_android_checkableBehavior = 5; 1747 | 1748 | // aapt resource value: 0 1749 | public const int MenuGroup_android_enabled = 0; 1750 | 1751 | // aapt resource value: 1 1752 | public const int MenuGroup_android_id = 1; 1753 | 1754 | // aapt resource value: 3 1755 | public const int MenuGroup_android_menuCategory = 3; 1756 | 1757 | // aapt resource value: 4 1758 | public const int MenuGroup_android_orderInCategory = 4; 1759 | 1760 | // aapt resource value: 2 1761 | public const int MenuGroup_android_visible = 2; 1762 | 1763 | public static int[] MenuItem = new int[] { 1764 | 16842754, 1765 | 16842766, 1766 | 16842960, 1767 | 16843014, 1768 | 16843156, 1769 | 16843230, 1770 | 16843231, 1771 | 16843233, 1772 | 16843234, 1773 | 16843235, 1774 | 16843236, 1775 | 16843237, 1776 | 16843375, 1777 | 2130772041, 1778 | 2130772042, 1779 | 2130772043, 1780 | 2130772044}; 1781 | 1782 | // aapt resource value: 14 1783 | public const int MenuItem_actionLayout = 14; 1784 | 1785 | // aapt resource value: 16 1786 | public const int MenuItem_actionProviderClass = 16; 1787 | 1788 | // aapt resource value: 15 1789 | public const int MenuItem_actionViewClass = 15; 1790 | 1791 | // aapt resource value: 9 1792 | public const int MenuItem_android_alphabeticShortcut = 9; 1793 | 1794 | // aapt resource value: 11 1795 | public const int MenuItem_android_checkable = 11; 1796 | 1797 | // aapt resource value: 3 1798 | public const int MenuItem_android_checked = 3; 1799 | 1800 | // aapt resource value: 1 1801 | public const int MenuItem_android_enabled = 1; 1802 | 1803 | // aapt resource value: 0 1804 | public const int MenuItem_android_icon = 0; 1805 | 1806 | // aapt resource value: 2 1807 | public const int MenuItem_android_id = 2; 1808 | 1809 | // aapt resource value: 5 1810 | public const int MenuItem_android_menuCategory = 5; 1811 | 1812 | // aapt resource value: 10 1813 | public const int MenuItem_android_numericShortcut = 10; 1814 | 1815 | // aapt resource value: 12 1816 | public const int MenuItem_android_onClick = 12; 1817 | 1818 | // aapt resource value: 6 1819 | public const int MenuItem_android_orderInCategory = 6; 1820 | 1821 | // aapt resource value: 7 1822 | public const int MenuItem_android_title = 7; 1823 | 1824 | // aapt resource value: 8 1825 | public const int MenuItem_android_titleCondensed = 8; 1826 | 1827 | // aapt resource value: 4 1828 | public const int MenuItem_android_visible = 4; 1829 | 1830 | // aapt resource value: 13 1831 | public const int MenuItem_showAsAction = 13; 1832 | 1833 | public static int[] MenuView = new int[] { 1834 | 16842926, 1835 | 16843052, 1836 | 16843053, 1837 | 16843054, 1838 | 16843055, 1839 | 16843056, 1840 | 16843057, 1841 | 16843829}; 1842 | 1843 | // aapt resource value: 4 1844 | public const int MenuView_android_headerBackground = 4; 1845 | 1846 | // aapt resource value: 2 1847 | public const int MenuView_android_horizontalDivider = 2; 1848 | 1849 | // aapt resource value: 5 1850 | public const int MenuView_android_itemBackground = 5; 1851 | 1852 | // aapt resource value: 6 1853 | public const int MenuView_android_itemIconDisabledAlpha = 6; 1854 | 1855 | // aapt resource value: 1 1856 | public const int MenuView_android_itemTextAppearance = 1; 1857 | 1858 | // aapt resource value: 7 1859 | public const int MenuView_android_preserveIconSpacing = 7; 1860 | 1861 | // aapt resource value: 3 1862 | public const int MenuView_android_verticalDivider = 3; 1863 | 1864 | // aapt resource value: 0 1865 | public const int MenuView_android_windowAnimationStyle = 0; 1866 | 1867 | public static int[] SearchView = new int[] { 1868 | 16843039, 1869 | 16843296, 1870 | 16843364, 1871 | 2130772054, 1872 | 2130772055}; 1873 | 1874 | // aapt resource value: 2 1875 | public const int SearchView_android_imeOptions = 2; 1876 | 1877 | // aapt resource value: 1 1878 | public const int SearchView_android_inputType = 1; 1879 | 1880 | // aapt resource value: 0 1881 | public const int SearchView_android_maxWidth = 0; 1882 | 1883 | // aapt resource value: 3 1884 | public const int SearchView_iconifiedByDefault = 3; 1885 | 1886 | // aapt resource value: 4 1887 | public const int SearchView_queryHint = 4; 1888 | 1889 | public static int[] Spinner = new int[] { 1890 | 16842927, 1891 | 16843125, 1892 | 16843126, 1893 | 16843362, 1894 | 16843436, 1895 | 16843437, 1896 | 2130772045, 1897 | 2130772046, 1898 | 2130772047, 1899 | 2130772048}; 1900 | 1901 | // aapt resource value: 4 1902 | public const int Spinner_android_dropDownHorizontalOffset = 4; 1903 | 1904 | // aapt resource value: 1 1905 | public const int Spinner_android_dropDownSelector = 1; 1906 | 1907 | // aapt resource value: 5 1908 | public const int Spinner_android_dropDownVerticalOffset = 5; 1909 | 1910 | // aapt resource value: 3 1911 | public const int Spinner_android_dropDownWidth = 3; 1912 | 1913 | // aapt resource value: 0 1914 | public const int Spinner_android_gravity = 0; 1915 | 1916 | // aapt resource value: 2 1917 | public const int Spinner_android_popupBackground = 2; 1918 | 1919 | // aapt resource value: 9 1920 | public const int Spinner_disableChildrenWhenDisabled = 9; 1921 | 1922 | // aapt resource value: 8 1923 | public const int Spinner_popupPromptView = 8; 1924 | 1925 | // aapt resource value: 6 1926 | public const int Spinner_prompt = 6; 1927 | 1928 | // aapt resource value: 7 1929 | public const int Spinner_spinnerMode = 7; 1930 | 1931 | public static int[] Theme = new int[] { 1932 | 2130772035, 1933 | 2130772036, 1934 | 2130772037, 1935 | 2130772038, 1936 | 2130772039, 1937 | 2130772040}; 1938 | 1939 | // aapt resource value: 0 1940 | public const int Theme_actionDropDownStyle = 0; 1941 | 1942 | // aapt resource value: 1 1943 | public const int Theme_dropdownListPreferredItemHeight = 1; 1944 | 1945 | // aapt resource value: 5 1946 | public const int Theme_listChoiceBackgroundIndicator = 5; 1947 | 1948 | // aapt resource value: 4 1949 | public const int Theme_panelMenuListTheme = 4; 1950 | 1951 | // aapt resource value: 3 1952 | public const int Theme_panelMenuListWidth = 3; 1953 | 1954 | // aapt resource value: 2 1955 | public const int Theme_popupMenuStyle = 2; 1956 | 1957 | public static int[] View = new int[] { 1958 | 16842970, 1959 | 2130772020, 1960 | 2130772021}; 1961 | 1962 | // aapt resource value: 0 1963 | public const int View_android_focusable = 0; 1964 | 1965 | // aapt resource value: 2 1966 | public const int View_paddingEnd = 2; 1967 | 1968 | // aapt resource value: 1 1969 | public const int View_paddingStart = 1; 1970 | 1971 | static Styleable() 1972 | { 1973 | global::Android.Runtime.ResourceIdManager.UpdateIdValues(); 1974 | } 1975 | 1976 | private Styleable() 1977 | { 1978 | } 1979 | } 1980 | } 1981 | } 1982 | #pragma warning restore 1591 1983 | -------------------------------------------------------------------------------- /SearchViewSample/SearchViewActivity.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Android.App; 3 | using Android.Runtime; 4 | using Android.Support.V4.View; 5 | using Android.Support.V7.App; 6 | using Android.Support.V7.Widget; 7 | using Android.Views; 8 | using Android.Widget; 9 | using Android.OS; 10 | 11 | namespace SearchViewSample 12 | { 13 | [Activity(Label = "SearchView Sample", MainLauncher = true, Icon = "@drawable/icon", 14 | Theme = "@style/Theme.AppCompat.Light")] 15 | public class SearchViewActivity : ActionBarActivity 16 | { 17 | private SearchView _searchView; 18 | private ListView _listView; 19 | private ChemicalsAdapter _adapter; 20 | 21 | protected override void OnCreate(Bundle bundle) 22 | { 23 | base.OnCreate(bundle); 24 | 25 | SetContentView(Resource.Layout.Main); 26 | 27 | SupportActionBar.SetDisplayShowHomeEnabled(true); 28 | 29 | var chemicals = new List 30 | { 31 | new Chemical {Name = "Niacin", DrawableId = Resource.Drawable.Icon}, 32 | new Chemical {Name = "Biotin", DrawableId = Resource.Drawable.Icon}, 33 | new Chemical {Name = "Chromichlorid", DrawableId = Resource.Drawable.Icon}, 34 | new Chemical {Name = "Natriumselenit", DrawableId = Resource.Drawable.Icon}, 35 | new Chemical {Name = "Manganosulfate", DrawableId = Resource.Drawable.Icon}, 36 | new Chemical {Name = "Natriummolybdate", DrawableId = Resource.Drawable.Icon}, 37 | new Chemical {Name = "Ergocalciferol", DrawableId = Resource.Drawable.Icon}, 38 | new Chemical {Name = "Cyanocobalamin", DrawableId = Resource.Drawable.Icon}, 39 | }; 40 | 41 | _listView = FindViewById(Resource.Id.listView); 42 | _adapter = new ChemicalsAdapter(this, chemicals); 43 | _listView.Adapter = _adapter; 44 | } 45 | 46 | public override bool OnCreateOptionsMenu(IMenu menu) 47 | { 48 | MenuInflater.Inflate(Resource.Menu.main, menu); 49 | 50 | var item = menu.FindItem(Resource.Id.action_search); 51 | 52 | var searchView = MenuItemCompat.GetActionView(item); 53 | _searchView = searchView.JavaCast(); 54 | 55 | _searchView.QueryTextChange += (s, e) => _adapter.Filter.InvokeFilter(e.NewText); 56 | 57 | _searchView.QueryTextSubmit += (s, e) => 58 | { 59 | // Handle enter/search button on keyboard here 60 | Toast.MakeText(this, "Searched for: " + e.Query, ToastLength.Short).Show(); 61 | e.Handled = true; 62 | }; 63 | 64 | MenuItemCompat.SetOnActionExpandListener(item, new SearchViewExpandListener(_adapter)); 65 | 66 | return true; 67 | } 68 | 69 | private class SearchViewExpandListener 70 | : Java.Lang.Object, MenuItemCompat.IOnActionExpandListener 71 | { 72 | private readonly IFilterable _adapter; 73 | 74 | public SearchViewExpandListener(IFilterable adapter) 75 | { 76 | _adapter = adapter; 77 | } 78 | 79 | public bool OnMenuItemActionCollapse(IMenuItem item) 80 | { 81 | _adapter.Filter.InvokeFilter(""); 82 | return true; 83 | } 84 | 85 | public bool OnMenuItemActionExpand(IMenuItem item) 86 | { 87 | return true; 88 | } 89 | } 90 | } 91 | } 92 | 93 | -------------------------------------------------------------------------------- /SearchViewSample/SearchViewSample.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Debug 5 | AnyCPU 6 | 8.0.30703 7 | 2.0 8 | {94C5C731-11F8-4F6B-ADD6-64138370B27F} 9 | {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 10 | Library 11 | Properties 12 | SearchViewSample 13 | SearchViewSample 14 | 512 15 | true 16 | Resources\Resource.Designer.cs 17 | Off 18 | Properties\AndroidManifest.xml 19 | armeabi,armeabi-v7a,x86 20 | 21 | 22 | 23 | 24 | 25 | v2.2 26 | 27 | 28 | true 29 | full 30 | false 31 | bin\Debug\ 32 | DEBUG;TRACE 33 | prompt 34 | 4 35 | True 36 | None 37 | 38 | 39 | pdbonly 40 | true 41 | bin\Release\ 42 | TRACE 43 | prompt 44 | 4 45 | False 46 | SdkOnly 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | ..\Components\xamandroidsupportv7appcompat-7.19.0.1\lib\android\Xamarin.Android.Support.v4.dll 57 | 58 | 59 | ..\Components\xamandroidsupportv7appcompat-7.19.0.1\lib\android\Xamarin.Android.Support.v7.AppCompat.dll 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | AndroidResource 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | False 88 | 7.19.0.1 89 | 90 | 91 | 92 | 93 | 94 | 95 | 102 | --------------------------------------------------------------------------------