
I am working on an application that displays the Stack View as shown above using Fragments. However after scouring the web I can not seem to find any implementation of this kind of layout.
Could anyone please let me know how to implement this stack view using Fragments?
Thanks in advance.
That’s rather a broad question…
As far as the layout goes, there’a a number of different ways to do it. A broad outline for the landscape view might be like this (you’ll have to fill in the appropriate layout height, widths and weights)
For the portrait view simply reverse the two android:orientation tags and re-adjust your heights, widths and weights. Then put them in the appropriate layout directories.