There's a property for all the View classes, called, Visibility It has three states, 1. VISIBLE 2. INVISIBLE 3. GONE
I think, you are looking for GONE state. Kumar Bibek On Jan 26, 6:11 pm, Uzair <[email protected]> wrote: > Hi, > > ne1 knw how to create the edit text view without help from xml ... > > Wat m trying to do is that i have created 2 buttons (say "btn1" and > "btn2").. Now wat i want is that when i click 'btn1' it show me 1 > edit text object and if i click 'btn2' 2 edit boxes are shown..... > > the problem is that using xml i am able to create text boxes but they > appear even before i click on the buttons (i.e. at the start of > activity)... > > Regards, > Uzair -- 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

