Re: [android-developers] Behaviour of EditText.
On Thu, Dec 20, 2012 at 2:48 AM, monty mca.himanshusha...@gmail.com wrote: and for making edittext numberic i am using android:inputtype = numeric in my xml. but after running the code ,i observe the output that softkeyborad for numeric edittext showing the text words i.e A to Z. You're overriding the flags you set in XML. Just add both flags in XML. They're flags - you can specify more than one ... - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Behaviour of EditText.
Hello, I have lot of edittext in my application some of contains (Numberic,Text,Date) data only . but i want to use setInputType(InputType.TYPE_TEXT_VARIATION_FILTER); to avoid add dictonary. so i add this code in my EditTextClass extends EditText { public EditTextClass() { init(); } public void init() { setInputType(InputType.TYPE_TEXT_VARIATION_FILTER); } } and for making edittext numberic i am using android:inputtype = numeric in my xml. but after running the code ,i observe the output that softkeyborad for numeric edittext showing the text words i.e A to Z. is there any way to avoid add dictionay. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en