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 ?
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 ?