/ Published in: XML

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
If you do not want views to reload on orientation changes simply override onConfigurationChanged in your Activity class: @Override public void onConfigurationChanged(Configuration newConfig){ super.onConfigurationChanged(newConfig); } And set the android:configChanges attribute in the manifest: <activity android:name="..." android:label="@string/appName" android:configChanges="orientation"
Comments
