void UpdateDuration(object sender, Android.App.TimePickerDialog.TimeSetEventArgs e) { Element.Time = new TimeSpan(e.HourOfDay, e.Minute, 0); Control.Text = Element.Time.Hours.ToString("00") + ":" + Element.Time.Minutes.ToString("00"); var gd = new GradientDrawable(); gd.SetStroke(0, Android.Graphics.Color.Transparent); Control.SetBackground(gd); }
void UpdateDuration(object sender, Android.App.TimePickerDialog.TimeSetEventArgs e) { Element.Time = new TimeSpan(e.HourOfDay, e.Minute, 0); Control.Text = Element.Time.Hours.ToString("00") + ":" + Element.Time.Minutes.ToString("00"); }
private void SetTime(object sender, Android.App.TimePickerDialog.TimeSetEventArgs e) { }