Done!
Although there's no INT type Preference. Here's the way to make sure that
the input for EditTextPreference is a number.
EditText etText =
(EditText)((EditTextPreference)findPreference(NUM_TEXT)).getEditText();
etText.setKeyListener(DigitsKeyListener.getInstance());
On Sat, Nov 7, 2009 at
I am experiencing the same issue. My app. requires an INT number returned
from EditTextPreference, any way to make sure that the input for
EditTextPreference is an INT before it returns to app.?
On Fri, Nov 6, 2009 at 8:07 AM, Pierre pierredur...@gmail.com wrote:
With CheckBoxPreference and
2 matches
Mail list logo