I'm trying to customize the EditText of the search box for my app:

<searchable xmlns:android="http://schemas.android.com/apk/res/android";
     android:label="some_label"
     android:hint="some_hint"
     android:inputType="number"
     android:maxLength="5"
     >
 </searchable>

android:inputType="number" works just fine, a digit soft keayboard
comes up and you type digits in it. Now I want to be able to limit the
size of input to 5 digits (Zip code). And the above code appears to
not be working. It is just ignored. Any ideas?

TIA

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to