KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
My app has a webview and some buttons inside a LinerLayout. the problem is, I want the buttons to be on bottom in portrait mode and on left in landscape mode while the webview maintains it's state. Two different layout doesn't work as it force recreation of the activity that refresh the webview. for now I use android:configChanges="orientation" in activity tag so webview doesn't get refreshed on orientation change. Is there anyway to replace the layout of buttons on the change of screen mode? portrait mode landscape mode
Tags (comma-separated)
Save Edits
Cancel