|
9 | 9 | <!-- The bottom tab UI is created via MDTabStrip (the containier) and MDTabStripItem (for each tab)-->
|
10 | 10 | <MDTabStrip>
|
11 | 11 | <MDTabStripItem>
|
12 |
| - <Label text="Home" /> |
| 12 | + <Label text="First" /> |
13 | 13 | <Image src="font://mdi-home" class="mdi" />
|
14 | 14 | </MDTabStripItem>
|
15 | 15 | <MDTabStripItem class="special">
|
16 |
| - <Label text="Account" /> |
| 16 | + <Label text="Second" /> |
17 | 17 | <Image src="font://mdi-account" class="mdi" />
|
18 | 18 | </MDTabStripItem>
|
19 | 19 | <MDTabStripItem class="special">
|
20 |
| - <Label text="Search" /> |
| 20 | + <Label text="Third" /> |
| 21 | + <Image src="font://mdi-magnify" class="mdi" /> |
| 22 | + </MDTabStripItem> |
| 23 | + <MDTabStripItem class="special"> |
| 24 | + <Label text="Fourth" /> |
21 | 25 | <Image src="font://mdi-magnify" class="mdi" />
|
22 | 26 | </MDTabStripItem>
|
23 | 27 | </MDTabStrip>
|
|
27 | 31 | <Frame id="test" backgroundColor="transparent">
|
28 | 32 | <Page backgroundColor="transparent">
|
29 | 33 | <GridLayout backgroundColor="transparent" @loaded="onLoaded('red')">
|
30 |
| - <Label text="Home Page" class="h2 text-center" @tap="navigateToTabsSample"></Label> |
| 34 | + <Label text="First Page" class="h2 text-center" @tap="navigateToTabsSample"></Label> |
31 | 35 | <Button text="show alert" @tap="showTestAlert" verticalAlignment="center"></Button>
|
32 | 36 | </GridLayout>
|
33 | 37 | </Page>
|
34 | 38 | </Frame>
|
35 | 39 | </MDTabContentItem>
|
36 | 40 | <MDTabContentItem>
|
37 | 41 | <GridLayout backgroundColor="transparent" @loaded="onLoaded('green')">
|
38 |
| - <Label text="Account Page" class="h2 text-center"></Label> |
| 42 | + <Label text="Second Page" class="h2 text-center"></Label> |
39 | 43 | </GridLayout>
|
40 | 44 | </MDTabContentItem>
|
41 | 45 | <MDTabContentItem>
|
42 | 46 | <GridLayout backgroundColor="yellow" @loaded="onLoaded('yellow')">
|
43 |
| - <Label text="Search Page" class="h2 text-center"></Label> |
| 47 | + <Label text="Third Page" class="h2 text-center"></Label> |
44 | 48 | </GridLayout>
|
45 | 49 | </MDTabContentItem>
|
| 50 | + <MDTabContentItem> |
| 51 | + <Frame id="test2"> |
| 52 | + <Page> |
| 53 | + <GridLayout backgroundColor="transparent" @loaded="onLoaded('red')"> |
| 54 | + <Label text="Fourth Page" class="h2 text-center" @tap="navigateToTabsSample"></Label> |
| 55 | + <Button text="show alert" @tap="showTestAlert" verticalAlignment="center"></Button> |
| 56 | + </GridLayout> |
| 57 | + </Page> |
| 58 | + </Frame> |
| 59 | + </MDTabContentItem> |
46 | 60 | </MDBottomNavigation>
|
47 | 61 | </GridLayout>
|
48 | 62 | </Page>
|
|
0 commit comments