Reset an Android Dialog
问题 I found plenty of topics on how to save states of a dialog, for instance using Bundle instances. However, I can't seem to find how to "properly" reset a dialog. Consider this sample custom dialog (the XML layout carries an EditText with ID "input_text"): public class CustomDialog extends Dialog { public CustomDialog (Context context) { super (context); } protected onCreate (Bundle savedInstanceState) { super.onCreate (savedInstanceState); setContentView(R.layout.input_query); EditText txt =