I\'m adding dynamically created EditTexts to a layout (onClick button method). When I rotate the screen the added edittexts disappear. How can I add them to a bundle to put them
you can't save a view. bundle is just a pair name-value. of course you can save the text and then render it again. the way is just you said.
onsaveInsatnceState(bundle save) save the text as save.putString('text1','bla bla') of course you need a loop to save all your edittext.
then in oncreated( bundle save)
you can get what you have added by save.getString('text1')