Reputation: 135
In my application, I have two activities. One for display comments, and one for add comments.
In Landscape, I want to display the two activities on the screen, the comments at left and the form at right.
Do you have an idea to do this ?
Thanks a lot!
Upvotes: 1
Views: 221
Reputation: 8224
So what you need to do is to move your Activity's
logic to Fragments
. Then create new layout for landscape mode that will contain both of that Fragments
.
Just follow this tutorial and you will see how to do this. The Design Philosophy part fully describes what you want to do.
Upvotes: 2