Are you sure this is a good idea? There are phones without a physical keyboard, and then users could not edit any text.
The simplest way is to define both, TextView and EditText and setVisibility(View.GONE) or View.VISIBLE to only show one of the two, if you still need to do this. Peli On Jul 17, 3:31 pm, peeyush varshney <varshney.peey...@gmail.com> wrote: > it depends on Context like when Qwerty is closed it should be TexView > otherwise editText...... > > > > On Fri, Jul 17, 2009 at 5:12 PM, Peli <peli0...@googlemail.com> wrote: > > > Why don't you simply use EditText? > > > Peli > >www.openintents.org > > > On Jul 17, 11:15 am, peeyush varshney <varshney.peey...@gmail.com> > > wrote: > > > Hi, > > > How to make a TextView Editable. > > > > -- > > > Thank & Regards > > > Peeyush Varshney > > -- > Thank & Regards > Peeyush Varshney --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---