Observing my application behavior in Android emulator, I see that EditText contents is preserved after changing screen orientation (Ctrl+F11). But TextView contents is reset to its initial value and doesn’t keep latest information set by the program. Is this behavior by definition? What can I do to keep this contents?
Observing my application behavior in Android emulator, I see that EditText contents is preserved
Share
Use this property in your TextView
android:freezesText="true".