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 11<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 >
610</Page >
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ examples.set("radius", "css/radius");
4646examples . set ( "styles" , "css/styles" ) ;
4747examples . set ( "switch" , "css/views" ) ;
4848examples . set ( "tabmore" , "css/tab-view-more" ) ;
49+ examples . set ( "zindex" , "css/zindex" ) ;
4950
5051examples . set ( "dialogs" , "dialogs/dialogs" ) ;
5152
You can’t perform that action at this time.
0 commit comments