i am developing an android todo list app to learn. right now in my main layout xml file, i list all to-do list items. i created a menu button called add to add a new to-do. the problem is that i want to show a different view when add button is pressed. in that view i will have an editbox and 2 buttons. anyone have any suggestion on how that can be accomplished?
Share
For this scenario it will be better to create two activities: a ListActivity for the to-do list and an edit activity. You can switch between the two activites with an Intent.