title: Xamarin forms: hiding blue line from selected tab with a CustomTabRenderer for android
body: <p>I made a customrenderer for showing images in the tabs for the Android platform.
  Now i'd like to know how i can remove the bottom line that shows which tab is selected.
  Also, where can i get info about creating custom renderers? i looked on youtube but the example with the rounded corners doesn't show much...</p>
  
  <pre><code>namespace Plopsa.Android
  {
  public class CustomTabRenderer: TabbedRenderer 
  {
      private Activity _activity;
  
      protected override void OnModelChanged(VisualElement oldModel, VisualElement newModel)
      {
          base.OnModelChanged(oldModel, newModel);
  
          _activity = this.Context as Activity;
      }
  
      // May put this code in a different method - was just for testing
      public override void OnWindowFocusChanged(bool hasWindowFocus)
      {   
          // Here the magic happens:  get your ActionBar and select the tab you want to add an image
          ActionBar actionBar = _activity.ActionBar;
  
          if (actionBar.TabCount &gt; 0)
          {
              ActionBar.Tab tabOne = actionBar.GetTabAt(0);
              tabOne.SetIcon(Resource.Drawable.icon_tab1);
  
              ActionBar.Tab tabTwo = actionBar.GetTabAt(1);
              tabTwo.SetIcon (Resource.Drawable.icon_tab2);
  
              ActionBar.Tab tabThree = actionBar.GetTabAt(2);
              tabThree.SetIcon(Resource.Drawable.icon_tab3);
  
              ActionBar.Tab tabFour = actionBar.GetTabAt(3);
              tabFour.SetIcon(Resource.Drawable.icon_tab4);
  
          }
          base.OnWindowFocusChanged(hasWindowFocus);
      }
  }
  </code></pre>