I am trying to make it so that when a user clicks a button, it pops up a dialog with an EditText and an OK Button. When the user completes, the dialog, it should add the item they just typed in to the ListView. How do I do this?
I will need a large code example; this is my first application.
You’ll want to follow the official notepad tutorial example. It’s very comprehensive. It does 95% of what you want to do.
http://developer.android.com/resources/tutorials/notepad/index.html