[android-developers] how to create dynamic button??

2012-01-23 Thread Rajesh Patil
hi, how to create dynamic button?? -- 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

Re: [android-developers] how to create dynamic button??

2012-01-23 Thread abhijeet tomar
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