I have an app that has a portrait layout. When I rotate my phone into landscape, it loads another layout that is strictly landscape (it is displaying an ImageView). How can I make the tran开发者_如何转开发sition from portrait to landscape animate smoothly?
Set android:configChanges="orientation"
in the manifest for the activity and then implement the onConfigurationChanged
method to handle the orientation change.
精彩评论