Try to use these methods: http://developer.android.com/reference/android/widget/TextView.html#setRawInputType(int) http://developer.android.com/reference/android/widget/TextView.html#setInputType(int)
Constants to use for these methods you find in the description column in this table: http://developer.android.com/reference/android/widget/TextView.html#attr_android :inputType I haven't tried it so I hope it works for you Am 23.08.2009 um 06:51 schrieb MMC2: > > Can anyone show me how to change the input type for a textedit to 1) > numeric decimal and 2) to text using code please? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

