Introduction
Xamarin is a platform to develop cross-platform and multi-platform apps (for example, Windows phone, Android, iOS). In Xamarin platform, the code sharing concept is used. In Xamarin Studio, Visual Studio is also available.
Prerequisites
- Visual Studio 2015 Update 3.
The steps given below are required to be followed in order to create a SearchView in Xamarin Android app, using Visual Studio 2015.
Step 1
Click File--> select New--> select Project. The project needs to be clicked after opening all the types of projects in Visual Studio or just click Ctrl+Shift+N.
Step 2
After opening the New Project, select Installed-->Templates-->Visual C#-->Android-->choose the Blank app (Android).
Now, give your Android app; a name (Ex- Search_View) and give the path of your project. Afterwards, click OK.

Step 3
Subsequently, go to the Solution Explorer and select Resource-->Layout. Double click to open the Main.axml page.
Step 4
After opening, the Main.axml file will open the main page designer. You can either chose Source panel for writing the code or Designer panel for designing the app, using GUI.
Now, delete the default "hello world" button by going to the Source panel and deleting the button code. Now, go to the MainActivity.cs page and delete C# button action code.
Step 5
Now, go to the Toolbox Window, scroll down and you will see all the tools and controls. You need to drag and drop the SearchView.
Step 6
Now, go to the Properties Window and edit the SearchView Id value (Ex- android:id="@+id/searchview").

anesu mugombaPosted Nov 16, 2017, 10:21 AM
Thakns from this tutorial