File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
1
<Page >
2
- <AbsoluteLayout >
3
- <StackLayout style =" height:100; width: 100; z-index: 1; background-color: red;" />
4
- <StackLayout style =" height:100; width: 100; background-color: green;" />
5
- </AbsoluteLayout >
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;" />
8
+ </AbsoluteLayout >
9
+ </StackLayout >
6
10
</Page >
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ examples.set("radius", "css/radius");
46
46
examples . set ( "styles" , "css/styles" ) ;
47
47
examples . set ( "switch" , "css/views" ) ;
48
48
examples . set ( "tabmore" , "css/tab-view-more" ) ;
49
+ examples . set ( "zindex" , "css/zindex" ) ;
49
50
50
51
examples . set ( "dialogs" , "dialogs/dialogs" ) ;
51
52
You can’t perform that action at this time.
0 commit comments