Well, it would look something like this:
import android.view.ViewGroup.LayoutParams; TextView tv; LinearLayout ll = findViewById...; for(){ tv = new TextView(this); tv.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT)); ll.addView(tv); } On Jun 7, 5:40 pm, Diogo Salaberri <caxix...@gmail.com> wrote: > How can I put some textView in a LinearLayout dinamically ? > > > > > > > > > > On Tue, Jun 7, 2011 at 11:18 AM, TreKing <treking...@gmail.com> wrote: > > On Tue, Jun 7, 2011 at 9:13 AM, Diogo Salaberri <caxix...@gmail.com>wrote: > > >> How can I do this ? > > > Do what? Explain your problem? > > > --------------------------------------------------------------------------- > > ---------------------- > > 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 > > -- > Atenciosamente; > Diogo Bonoto Salaberri > Bacharel em Ciência da Computação - UFPel -- 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