Reputation: 810
Example: http://cdn3.staztic.com/screenshots/cfo-magazine-mobile-1-2.jpg
I've just started learning how to program android apps, and I'm not sure how to go about it. Are they using tab layouts for both the main menu and the submenu right below it? If you could point me in the right direction, it'd be greatly appreciated.
Upvotes: 0
Views: 172
Reputation: 48871
I'd create a LinearLayout
to act as the tab content's view something like this...
<LinearLayout>
<!-- Usual width/height attributes and set the orientation as vertical -->
<LinearLayout>
<!-- Usual width/height attributes and set the orientation as horizontal -->
<!-- Place the 'Latest News' and other buttons here -->
</LinearLayout>
<ListView>
<!-- Usual width/height attributes -->
</ListView>
</LinearLayout>
Upvotes: 0
Reputation: 17800
The top menu is a TabHost.
The "submenu" looks like a HorizontalScrollView with Buttons.
The main view is a ListView.
Upvotes: 2