Re: [android-developers] Adding checkboxes to a LinearLayout

2010-09-09 Thread Mark Murphy
On Thu, Sep 9, 2010 at 2:42 PM, Bret Foreman wrote: > I want to add some checkboxes to a LinearLayout at runtime. The > orientation is vertical and I want the checkboxes to appear at the > bottom. I create each checkbox like this: > > CheckBox box = new CheckBox(this); > > Then I add the box to th

[android-developers] Adding checkboxes to a LinearLayout

2010-09-09 Thread Bret Foreman
I want to add some checkboxes to a LinearLayout at runtime. The orientation is vertical and I want the checkboxes to appear at the bottom. I create each checkbox like this: CheckBox box = new CheckBox(this); Then I add the box to the current view like this: addContentView( box , params ); What