[android-developers] Re: Preference Validation

2009-12-10 Thread Dean_Kreger
Hey julius, You will have to extend the EditTextPreference class and override some methods in the underlying EditText (use getEditText()). Best bet would be to make your own key listener, and have it check what the current text in your EditText is. Then in your preference XML (or

[android-developers] Re: Preference Validation

2009-12-10 Thread julius
Thank you very much for the reply. I'll give that a go. It would be nice if there were a regex option and an error message option in the SDK and some kind of validate for save in the popup (when clicking OK). Hey I can dream... Thanks again! On Dec 9, 4:43 pm, Dean_Kreger kool.n...@gmail.com