I'm using SwipeView (http://jasonfry.co.uk/blog/android-swipeview/) inside my activity's layout to display several pages. Moreover, I want to handle the orientation changes manually so I added
android:configChanges="orientation|keyboardHidden|screenSize"
into the application's manifest, so that onDestroy/onCreate are not called. Unfortunately, by doing this, the elements inside the swipeview are not resized accordingly. I already tried the following methods:
- invalidate
- requestLayout
- forceLayout
None of them did the trick! Any help would be appreciated. Thanks