On orientation changed view button textview not visible Android

Try add to AndroidManifest.xml configChanges for your Activity
android:configChanges=”keyboardHidden|orientation|screenSize”

 <activity android:name=".MainActivity"
                  android:label="@string/app_name"
                  android:configChanges="keyboardHidden|orientation|screenSize"
                  >
This entry was posted in Android Examples Code and tagged , . Bookmark the permalink.


Comments are closed.

2,442 views