Tabs-building blocks

来源:互联网 发布:淘宝摄影师招聘 编辑:程序博客网 时间:2024/05/05 10:22

Tabs

Tabs in the action bar make it easy to explore and switch between different views or functionalaspects(n.方面面貌方位,方向形势; ) of your app, or to browse categorized data sets.

For details on using gestures to move between tabs, see the Swipe Views pattern.

Scrollable Tabs


Scrolling tab controls can contain a larger number of items than a standard tab control. To navigate to the next/previous view, swipe left or right.

Scrolling tabs in the Play Store app.
 

Fixed Tabs


Fixed tabs display all items concurrently. To navigate to a different view, touch the tab, or swipe left or right.

Fixed tabs are displayed with equal width, based on the width of the widest tab label. If there is insufficient room to display all tabs, the tab labels themselves will be scrollable. For this reason, fixed tabs are best suited for displaying 3 or fewer tabs.

Tabs in Holo Dark & Light.
Tabs in the Google Play Movies app.
0 0
原创粉丝点击