title: How to create a "search" field in xamarin
body: <p>How to create a "search" field in xamarin?  As in the annex. I mean mainly the border. </p>
  
  <p>I am trying to make a custom but I have only the bottom line for now</p>
  
  <pre><code>    assembly: ExportRenderer(typeof(CustomSearch), typeof(CustomSearchRenderer))]
  namespace Sparking.Droid.CustomRenderers
  {
      public class CustomSearchRenderer : EntryRenderer
       {
          public CustomSearchRenderer(Context context) : base(context)
          {
  
          }
  
          protected override void OnElementChanged(ElementChangedEventArgs&lt;Entry&gt; e)
          {
              base.OnElementChanged(e);
  
              var view = (CustomSearch)Element;
              if (view == null) return;
  
              Control.SetPadding((int)view.Padding.Left, (int)view.Padding.Top,
                  (int)view.Padding.Right, (int)view.Padding.Bottom);
  
              Control.Background.SetColorFilter(view.UnderlineUnFocusColor.ToAndroid(), PorterDuff.Mode.SrcAtop);
          }
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/zF9W5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zF9W5.png" alt="Image"></a></p>