tags:

views:

86

answers:

1

Hi,

I'm trying to modified the way TimePicker works as asked in my question here http://stackoverflow.com/questions/2580216/android-timepicker-minutes-to-15

To be able to do that I need to know if the + and - button was clicked and to disable the input field.

So can I target the elements in a TimePicker? (i.e the + and - button and the input field)?

Also is there anyway to determine if the + or the - button was clicked?

Thanks,
Tee

A: 

You can store the previous date in a variable and figure out on event, if that was increased or decreased. This way you detect if the plus or minus was used.

Pentium10
Is there a way to disable the input field though? Tee
teepusink
I don't know the answer for that question.
Pentium10