Click here to Skip to main content
15,891,372 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to add button dynamically

for example i created a button named setting.

and this setting button should be responsible for creating new buttons in the activity.

so when i click on this setting button the edit text open in the other activity

and i typed the button name in the edit text and this button create to the first activity with name in which loaded from the edit text from the second activity.

i mean that a button should to create with the text loaded from the edit text.

edit text=typed text=create button with this name

it show that just a like a setting button.
Posted

1 solution

It's not able to create a button dynamically. You want to create the buttons initially according to your need. You can decide about visibility, enable\ disabling of a button

In some cases you can add buttons. Check this Link
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900