1

Is it possible in Android to limit what is the maximum and minimum number that user can input in EditTextPreference?

1 Answers1

0

you may use OnPreferenceChangeListener to catch the user input and validate, possibly preventing it from being written to the Preferences by returning true/false.

lenik
  • 23,228
  • 4
  • 34
  • 43