mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
* wip: add background color placeholders for tabstripitem * feat: add css for tabstripitem for bottom navigation android * chore: update example * fix: revert native default index * clean up tabcontentitem * update setTabBarItemTextTransform * textTransform inherited css property now * fix(android-bottom-navigation): fragment detach logic * chore: fix tests * fix(android-bottom-navigation): fragment lifecycle logic * fix: revert text-transform inherited css property
24 lines
578 B
XML
24 lines
578 B
XML
<Page class="page">
|
|
|
|
<ActionBar title="BottomNavigation color" icon="" class="action-bar">
|
|
</ActionBar>
|
|
|
|
<BottomNavigation>
|
|
<TabStrip>
|
|
<TabStripItem title="first" class="special"></TabStripItem>
|
|
<TabStripItem title="second"></TabStripItem>
|
|
</TabStrip>
|
|
|
|
<TabContentItem class="special">
|
|
<GridLayout>
|
|
<Label text="First View" />
|
|
</GridLayout>
|
|
</TabContentItem>
|
|
|
|
<TabContentItem>
|
|
<GridLayout>
|
|
<Label text="Second View" />
|
|
</GridLayout>
|
|
</TabContentItem>
|
|
</BottomNavigation>
|
|
</Page> |