EditText not automatically saved on screen orientation change
问题 I read that Android automatically saves the content of EditText objects when an application is about to be stopped or killed. However, in my app the content of an EditText is lost when screen orientation changes. Is it normal behaviour? Do I then have to manually save/restore its content with onSaveInstanceState / onRestoreInstanceState ? Or is there an easier method to tell Android to save it end restore it? Edit : I create the EditText object programmatically, not in XML. This turns out to