-2

I have a Timepicker with EditText. Below are the scenarios:

  1. On editing the time picker, it sets the value to the edittext.That works fine
  2. Above and below timepicker, there are EditTexts. On editing the EditText which is above and below(whichever) the Timepicker EditText automatically changes the time to device time.

I don't want to change the time to device time. How do I fix this? Is this a bug?

I have tried following link but no help.

Community
  • 1
  • 1

1 Answers1

0

Are you using a builder to show the date picker

if yes

include this too

  builder.setCancelable(false);
Nazim ch
  • 834
  • 8
  • 20