예제 #1
0
        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);
        }
예제 #2
0
 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");
 }
예제 #3
0
 private void SetTime(object sender, Android.App.TimePickerDialog.TimeSetEventArgs e)
 {
 }