1. Are you ready for the Galaxy S20? Here is everything we know so far!

Disabling Time Picker

Discussion in 'Android Development' started by mkm89, Jan 14, 2020.

  1. mkm89

    mkm89 Lurker
    Thread Starter

    I'm trying to disable a Time Picker in Clock mode so that the user can't change the hour/minute when a button is pressed. I'm using setEnabled(false) but this only greys out the header clock and doesn't allow you to select hours/minutes/AM/PM, but the selector is still enabled and the hour/minute can be changed. Does anyone know how to solve this issue?

    Thanks
     

    Advertisement

    racibennett likes this.
Loading...

Share This Page

Loading...