Android Question Portait and Landscape app.

ciprian

Active Member
Licensed User
Longtime User
Hi there.
I have made an app, with 3 pages (viewpager), each one with her own layout, and actualy it's made for phones only.
I wish to build into the same app, a tablet layout in landscape mode, but only with one page, who will contains all items from the 3 pages.
I have allready the code for autodetection phone or tablet (if phone then portait blocked, if tablet then landscape blocked).
How can i do this so that if phone then viewpager = 3 pages, or if tablet then viewpager = 1 page ?
 

ciprian

Active Member
Licensed User
Longtime User
This is what i'm doing.
Into the phone style, i have 3 pages with a panel on each. Each panel has his own layout.
To the tablet style, i wish to use one only page, with a layout.
I think i have found a solution , have to try this tonight.

Thank you LucaMs
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…