11<Page >
2- <StackLayout automationText =" zIndex" >
3- <AbsoluteLayout style =" background-color: green;" >
4- <Button text =" button 1" style =" height: 100; width: 100; z-index: 999; background-color: red;" />
5- <Button text =" button 2" left =" 20" top =" 70" style =" height: 100; width: 100; z-index:1; background-color: yellow;" />
6- <Button text =" button 3" left =" 60" top =" 130" style =" height: 100; width: 100; z-index:0; background-color: blue; color: black;" />
7- <Button text =" button 4" left =" 90" top =" 190" style =" height: 100; width: 100; z-index:-1; background-color: orange;" />
2+ <GridLayout automationText =" zIndex" columns =" *,*" rows =" *, *" >
3+ <AbsoluteLayout style =" background-color: green;" >
4+ <Button text =" button 1" style =" height: 100; width: 100; z-index: 999; background-color: red;" />
5+ <Button text =" button 2" left =" 20" top =" 70" style =" height: 100; width: 100; z-index:1; background-color: yellow;" />
6+ <Button text =" button 3" left =" 60" top =" 130" style =" height: 100; width: 100; z-index:0; background-color: blue; color: black;" />
7+ <Button text =" button 4" left =" 90" top =" 190" style =" height: 100; width: 100; z-index:-1; background-color: orange;" />
8+ </AbsoluteLayout >
9+ <AbsoluteLayout style =" background-color: black;" col =" 1" >
10+ <Label text =" label 1" style =" height: 100; width: 100; z-index: 999; background-color: red;" />
11+ <Label text =" label 2" left =" 20" top =" 70" style =" height: 100; width: 100; z-index:1; background-color: yellow;" />
12+ <Label text =" label 3" left =" 60" top =" 130" style =" height: 100; width: 100; z-index:0; background-color: blue; color: black;" />
13+ <Label text =" label 4" left =" 90" top =" 190" style =" height: 100; width: 100; z-index:-1; background-color: orange;" />
14+ </AbsoluteLayout >
15+ <AbsoluteLayout style =" background-color: brown;" row =" 1" >
16+ <TextField text =" TextField" style =" height: 100; width: 100; z-index: 999; background-color: red;" />
17+ <TextView text =" TextView" left =" 20" top =" 70" style =" height: 100; width: 100; z-index:1; background-color: yellow;" />
18+ <Image src =" ~/ui-tests-app/image-view/gravatar.png" left =" 60" top =" 130" style =" height: 100; width: 100; z-index:0; background-color: blue; color: black;" />
19+ <TimePicker hour =" 5" minute =" 30" minHour =" 3" maxHour =" 7" left =" 90" top =" 190" style =" z-index:-1; background-color: orange; width: 100;" />
20+ </AbsoluteLayout >
21+ <AbsoluteLayout row =" 1" col =" 1" style =" background-color: grey;" >
22+ <StackLayout style =" background-color: green; z-index: 999;" >
23+ <TextField text =" stacklayout1" style =" height: 100; width: 100;" />
24+ </StackLayout >
25+ <StackLayout left =" 20" top =" 70" style =" z-index: 1; background-color: yellow" >
26+ <TextField text =" stacklayout2" style =" height: 100; width: 100;" />
27+ </StackLayout >
28+ <WrapLayout left =" 60" top =" 130" style =" z-index: 0; background-color: blue" >
29+ <TextField text =" wraplayout" style =" height: 100; width: 100;" />
30+ </WrapLayout >
31+ <AbsoluteLayout left =" 90" top =" 190" style =" height: 100; width: 100; z-index: -1; background-color: orange;" >
32+ <Label text =" absolutelayout" top =" 40" />
833 </AbsoluteLayout >
9- </StackLayout >
34+ </AbsoluteLayout >
35+ </GridLayout >
1036</Page >
0 commit comments