title: Xamarin : set different background to each tab (in TabHost)
body: <p>I am trying to add background to each tab in TabHost. </p>
  
  <pre><code>private void CreateTab(Type activityType, string tag, string label, int drawableId)
      {
          TabHost.TabSpec spec;
  
          var intent = new Intent(this, activityType);
          intent.AddFlags(ActivityFlags.NewTask);
  
          spec = TabHost.NewTabSpec(tag);
          var drawableIcon = Resources.GetDrawable(drawableId);
          spec.SetIndicator(label, drawableIcon);
          spec.SetContent(intent);
  
          TabHost.AddTab(spec);
      }
  </code></pre>
  
  <p>I use the above code to create tabs.</p>
  
  <p>Please help,
  Thanks.</p>