{"id":15412498,"url":"https://github.com/fanmixco/xamarin-materialsearchview","last_synced_at":"2026-03-06T07:31:54.336Z","repository":{"id":148228269,"uuid":"285801657","full_name":"FANMixco/Xamarin-MaterialSearchView","owner":"FANMixco","description":"Cute library to implement SearchView in a Material Design Approach for Xamarin.Android, based on Miguel Catalan's version.","archived":false,"fork":false,"pushed_at":"2024-10-19T07:05:05.000Z","size":136,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T16:15:01.554Z","etag":null,"topics":["android","material-design","material-search-view","nuget","nuget-package","xamarin","xamarin-android","xamarin-android-binding","xamarin-library"],"latest_commit_sha":null,"homepage":"https://fanmixco.github.io/Xamarin-MaterialSearchView/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FANMixco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["fanmixco"],"custom":["https://www.buymeacoffee.com/fanmixco"]}},"created_at":"2020-08-07T10:25:27.000Z","updated_at":"2024-10-19T07:05:09.000Z","dependencies_parsed_at":"2024-06-09T20:24:35.994Z","dependency_job_id":"68df551d-0de2-4e83-bf48-6ccb293d5a60","html_url":"https://github.com/FANMixco/Xamarin-MaterialSearchView","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":"0.18181818181818177","last_synced_commit":"b4641b8dc62f6b3e4b9bfe159aed952b9036f537"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FANMixco/Xamarin-MaterialSearchView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FANMixco%2FXamarin-MaterialSearchView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FANMixco%2FXamarin-MaterialSearchView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FANMixco%2FXamarin-MaterialSearchView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FANMixco%2FXamarin-MaterialSearchView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FANMixco","download_url":"https://codeload.github.com/FANMixco/Xamarin-MaterialSearchView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FANMixco%2FXamarin-MaterialSearchView/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30165622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T04:43:31.446Z","status":"ssl_error","status_checked_at":"2026-03-06T04:40:30.133Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","material-design","material-search-view","nuget","nuget-package","xamarin","xamarin-android","xamarin-android-binding","xamarin-library"],"created_at":"2024-10-01T16:53:32.718Z","updated_at":"2026-03-06T07:31:54.314Z","avatar_url":"https://github.com/FANMixco.png","language":"C#","funding_links":["https://github.com/sponsors/fanmixco","https://www.buymeacoffee.com/fanmixco","https://github.com/sponsors/FANMixco/"],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://github.com/sponsors/FANMixco/\" target=\"_blank\"\u003e\n   \u003cimg src=\"https://raw.githubusercontent.com/FANMixco/Xamarin-SearchBar/master/bmc-rezr5vpd.gif\" alt=\"sponsor\" /\u003e\n\u003c/a\u003e\n\n# Xamarin-MaterialSearchView\nCute library to implement SearchView in a Material Design Approach for Xamarin.Android, based on Miguel Catalan's version.\n\n![](https://raw.githubusercontent.com/MiguelCatalan/MaterialSearchView/master/art/voice.gif)\n\n## Get it\n\n|Latest Release|Downloads|\n|:------------:|:------------:|\n|[![NuGet Badge Xamarin-MaterialSearchBar](https://img.shields.io/nuget/v/Xamarin-MaterialSearchView)](https://www.nuget.org/packages/Xamarin-MaterialSearchView/)|[![NuGet Badge SpotsDialog.Xamarin](https://img.shields.io/nuget/dt/Xamarin-MaterialSearchView)](https://www.nuget.org/packages/Xamarin-MaterialSearchView/)|\n\n### **Basic example:**\n\n**XML:**\n**Layout:**\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\" ?\u003e\n\u003cLinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n\tandroid:background=\"@color/colorGray\"\n   android:layout_width=\"fill_parent\"\n   android:layout_height=\"fill_parent\"\n   android:orientation=\"vertical\"\u003e\n   \u003cinclude layout=\"@layout/search_container\" /\u003e\n\u003c/LinearLayout\u003e\n```\n\n**search_container.xml**\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\" ?\u003e\n\u003cFrameLayout\n\txmlns:android=\"http://schemas.android.com/apk/res/android\"\n\tandroid:id=\"@+id/toolbar_container\"\n\tandroid:layout_width=\"match_parent\"\n\tandroid:layout_height=\"wrap_content\"\u003e\n\n\t\u003candroid.support.v7.widget.Toolbar\n\t\tandroid:id=\"@+id/toolbar\"\n\t\tandroid:layout_width=\"match_parent\"\n\t\tandroid:layout_height=\"?attr/actionBarSize\"\n\t\tandroid:background=\"@color/colorPrimary\" /\u003e\n\n\t\u003ccom.miguelcatalan.materialsearchview.MaterialSearchView\n\t\tandroid:id=\"@+id/search_view\"\n\t\tandroid:layout_width=\"match_parent\"\n\t\tandroid:layout_height=\"wrap_content\" /\u003e\n\u003c/FrameLayout\u003e\n```\n\n**Menu:**\n**menu_search.xml**\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\" ?\u003e\n\u003cmenu xmlns:android=\"http://schemas.android.com/apk/res/android\"\n\txmlns:app=\"http://schemas.android.com/apk/res-auto\"\n\txmlns:tools=\"http://schemas.android.com/tools\"\n\ttools:context=\"com.domain.myApp.YourClassActivity\"\u003e\n\t\u003citem\n\t\tandroid:id=\"@+id/action_search\"\n\t\tandroid:icon=\"@drawable/ic_action_action_search\"\n\t\tandroid:orderInCategory=\"100\"\n\t\tandroid:title=\"@string/search_title\"\n\t\tapp:showAsAction=\"always\" /\u003e\n\u003c/menu\u003e\n```\n\n**C#:**\n\n```csharp\npublic partial class YourClassActivity : AppCompatActivity\n{\n\tprivate MaterialSearchView SearchView;\n\tprotected override void OnCreate(Bundle savedInstanceState)\n\t{\n\n\t\tSearchView = FindViewById\u003cMaterialSearchView\u003e(Resource.Id.search_view);\n\n\t\tSearchView.SetOnQueryTextListener(new MaterialSearchViewListener(this));\n\n\t\t//Optional to enable voice search\n\t\t//SearchView.SetVoiceSearch(true);        \n\t}\n\n\tpublic override bool OnCreateOptionsMenu(IMenu menu)\n\t{\n\t\tMenuInflater.Inflate(Resource.Menu.menu_search, menu);\n\n\t\tSearchView.SetMenuItem(menu.FindItem(Resource.Id.action_search));\n\n\t\treturn true;\n\t}\n}\n\npublic partial class YourClassActivity\n{\n\tpublic class MaterialSearchViewListener : Java.Lang.Object, MaterialSearchView.IOnQueryTextListener\n\t{\n\t\tpublic bool OnQueryTextChange(string p0)\n\t\t{\n\t\t\treturn true;\n\t\t}\n\n\t\tpublic bool OnQueryTextSubmit(string p0)\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t}\n}\n```\n\n# Help me\nPull requests are more than welcome, help me and others improve this awesome library.\n\nThe code is based on the Krishnakapil original concept.\n\n# License\n\tCopyright 2015-2020 Miguel Catalan Bañuls and Federico Navarrete\n\n\tLicensed under the Apache License, Version 2.0 (the \"License\");\n\tyou may not use this file except in compliance with the License.\n\tYou may obtain a copy of the License at\n\n\t\thttp://www.apache.org/licenses/LICENSE-2.0\n\n\tUnless required by applicable law or agreed to in writing, software\n\tdistributed under the License is distributed on an \"AS IS\" BASIS,\n\tWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\tSee the License for the specific language governing permissions and\n\tlimitations under the License.\n\t\n\n### Follow me at:\n\n|  LinkedIn  |YouTube|Amazon|Goodreads|Instagram|Cyber Prophets|Sharing Your Stories|\n|:----------|:------------:|:------------:|:------------:|:------------:|:------------:|:------------:|\n|[![LinkedIn](https://i.sstatic.net/idQWu.png)](https://bit.ly/lfanmixco)|[![YouTube](https://i.sstatic.net/CFPMR.png)](https://youtube.com/c/FedericoNavarrete)|[![Amazon](https://i.sstatic.net/NFOeE.png)](https://www.amazon.com/Federico-Navarrete/e/B08NJTXQRV)|[![Goodreads](https://i.sstatic.net/oBk0g.jpg)](https://www.goodreads.com/author/show/21125413.Federico_Navarrete)|[![Instagram](https://i.sstatic.net/PIfqY.png)](https://www.instagram.com/federico_the_consultant)|[![RedCircle Podcast](https://i.sstatic.net/4XICF.png)](https://redcircle.com/shows/cyber-prophets)|[![RedCircle Podcast](https://i.sstatic.net/4XICF.png)](https://redcircle.com/shows/sharing-your-stories)|\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffanmixco%2Fxamarin-materialsearchview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffanmixco%2Fxamarin-materialsearchview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffanmixco%2Fxamarin-materialsearchview/lists"}