title: CustomPicker Ok and Cancel buttons' color
body: <p>I have this custompicker class in android project:</p>
  
  <pre><code> public class CustomPickerRenderer : PickerRenderer
      {
          private Context context;
          private IElementController ElementController =&gt; Element as IElementController;
          private AlertDialog _dialog;
  
          public CustomPickerRenderer(Context context) : base(context)
          {
              this.context = context;
          }
  
          protected override void OnElementChanged(ElementChangedEventArgs&lt;Picker&gt; e)
          {
              base.OnElementChanged(e);
              if (Control == null || e.NewElement == null) return;
              Control.Click += Control_Click1;
          }
          protected override void Dispose(bool disposing)
          {
              Control.Click -= Control_Click1;
              base.Dispose(disposing);
          }
  
          private void Control_Click1(object sender, EventArgs e)
          {
              Picker model = Element;
  
              var picker = new NumberPicker(Context);
              if (model.Items != null &amp;&amp; model.Items.Any())
              {
                  picker.MaxValue = model.Items.Count - 1;
                  picker.MinValue = 0;
                  picker.SetDisplayedValues(model.Items.ToArray());
                  picker.WrapSelectorWheel = false;
                  picker.DescendantFocusability = DescendantFocusability.BlockDescendants;
                  picker.Value = model.SelectedIndex;
              }
  
              var layout = new LinearLayout(Context) { Orientation = Orientation.Vertical };
              layout.AddView(picker);
  
              ElementController.SetValueFromRenderer(VisualElement.IsFocusedProperty, true);
  
              var builder = new AlertDialog.Builder(Context);
              builder.SetView(layout);
              builder.SetTitle(model.Title ?? "");
  
              //change the text or color here
              builder.SetNegativeButton(Html.FromHtml("&lt;font color='#039BE5'&gt;Cancel&lt;/font&gt;"), (s, a) =&gt;
              {
                  ElementController.SetValueFromRenderer(VisualElement.IsFocusedProperty, false);
                  // It is possible for the Content of the Page to be changed when Focus is changed.
                  // In this case, we'll lose our Control.
                  Control?.ClearFocus();
                  _dialog = null;
              });
  
               //change the text or color here
              builder.SetPositiveButton(Html.FromHtml("&lt;font color='#039BE5'&gt;OK&lt;/font&gt;"), (s, a) =&gt;
              {
                  ElementController.SetValueFromRenderer(Picker.SelectedIndexProperty, picker.Value);
                  // It is possible for the Content of the Page to be changed on SelectedIndexChanged.
                  // In this case, the Element &amp; Control will no longer exist.
                  if (Element != null)
                  {
                      if (model.Items.Count &gt; 0 &amp;&amp; Element.SelectedIndex &gt;= 0)
                          Control.Text = model.Items[Element.SelectedIndex];
                      ElementController.SetValueFromRenderer(VisualElement.IsFocusedProperty, false);
                      // It is also possible for the Content of the Page to be changed when Focus is changed.
                      // In this case, we'll lose our Control.
                      Control?.ClearFocus();
                  }
                  _dialog = null;
              });
  
              _dialog = builder.Create();
              _dialog.DismissEvent += (ssender, args) =&gt;
              {
                  ElementController?.SetValueFromRenderer(VisualElement.IsFocusedProperty, false);
              };
              _dialog.Show();
          }
      }
  </code></pre>
  
  <p>I tried running my project on my phone Xiaomi POCOPHONE F1 (Android 9) and 2 emulators (Android 8.1) and the colors of cancel and ok buttons are designed Perfectly. But when I tried running the project on Huawei PLE-701L and SAMSUNG SM-T365 (Android 5.1) the color of the buttons didn't changed.</p>
  
  <p>Any suggestions?</p>