hi.... Using
Button b=new Button(this);
you have to create new button...and simply adding a layout in main.xml
using id of layout
like
LinearLayout layout=(LinearLayout) findViewById(R.id.linear);

layout.add(R.id.button);

you can do this thing easily to add button dynamically..

-- 
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

Reply via email to