mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
Merge pull request #2098 from NativeScript/tsenov/zindex-test-app
Update zindex test page
This commit is contained in:
@ -1,6 +1,10 @@
|
|||||||
<Page>
|
<Page>
|
||||||
<AbsoluteLayout>
|
<StackLayout automationText="zIndex">
|
||||||
<StackLayout style="height:100; width: 100; z-index: 1; background-color: red;" />
|
<AbsoluteLayout style="background-color: green;">
|
||||||
<StackLayout style="height:100; width: 100; background-color: green;" />
|
<Button text="button 1" style="height: 100; width: 100; z-index: 999; background-color: red;" />
|
||||||
</AbsoluteLayout>
|
<Button text="button 2" left="20" top="70" style="height: 100; width: 100; z-index:1; background-color: yellow;"/>
|
||||||
|
<Button text="button 3" left="60" top="130" style="height: 100; width: 100; z-index:0; background-color: blue; color: black;"/>
|
||||||
|
<Button text="button 4" left="90" top="190" style="height: 100; width: 100; z-index:-1; background-color: orange;"/>
|
||||||
|
</AbsoluteLayout>
|
||||||
|
</StackLayout>
|
||||||
</Page>
|
</Page>
|
@ -46,6 +46,7 @@ examples.set("radius", "css/radius");
|
|||||||
examples.set("styles", "css/styles");
|
examples.set("styles", "css/styles");
|
||||||
examples.set("switch", "css/views");
|
examples.set("switch", "css/views");
|
||||||
examples.set("tabmore", "css/tab-view-more");
|
examples.set("tabmore", "css/tab-view-more");
|
||||||
|
examples.set("zindex", "css/zindex");
|
||||||
|
|
||||||
examples.set("dialogs", "dialogs/dialogs");
|
examples.set("dialogs", "dialogs/dialogs");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user