title: How to change color of tabbed page indicator in Xamarin.Droid?
body: <p>I'm building an application with <strong>Xamarin.Forms</strong> and a Portable Class Library. I have a tabbed page. I want to change the color of the tabbed page indicator. Changing the rest of the layout is something I already managed, the only thing I do need is to change the light blue tabbed page indicator like shown below: <br/>
  <a href="https://i.stack.imgur.com/voUFA.png" rel="nofollow"><img src="https://i.stack.imgur.com/voUFA.png" alt="enter image description here"></a></p>
  
  <p>I couldn't find anything that could work in Xamarin.Droid. This is the code that creates the tabbed page with content: <br/></p>
  
  <pre><code>class TabbedPageTry : TabbedPage
  {
      public TabbedPageTry()
      { 
          Title = "TabbedPage";
  
          var myPages = new CategoryDAO().GetCategories();
          foreach (var item in myPages)
          {
              Children.Add(new TabPage(item.CategoryID) { BindingContext = item });
          }
      }
  
      public class TabPage : ContentPage
      {
          public TabPage(int categoryID)
          {
              Padding = new Thickness(0, Device.OnPlatform(20, 0, 0), 0, 0);
  
              var listView = new ListView
              {
  
                  SeparatorColor = Color.FromHex("#101010"),
                  ItemsSource = new CourseDAO().GetCourses(),
                  IsPullToRefreshEnabled = false,
                  BackgroundColor = Color.White,
              };
  
              this.SetBinding(Page.TitleProperty, "Name");
              Content = listView;
          }
  }
  </code></pre>
  
  <p>Because the application is being made Visual Studio with Xamarin.Forms my question is not answered yet. All the question I found are for Android specific, this is <strong>NOT</strong> what I am looking for. What I need is the C# solution to my problem.</p>
  
  <p>Thank you in advance.</p>