From what I read that the Activity will automatically save the state of Views and things like EditText and TextView restore their state automatically.
Does this not apply to the visibility?
For example:
If by default in the XML, I have a TextView that is visible.
If I programatically set the textview to GONE using tvInput.setVisibility(View.GONE);
If the activity is recreated, the tvInput is not maintained as GONE it is now visible when it should not be.
Is this expected behavior? Do I need to be handling view visibility myself?