You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@spstratis for API levels below 21 you can use as a workaround an absolute layout and order your elements - the last one will be placed on top.
For example:
Activity
NickIliev commentedon May 20, 2016
@zeroum
Thank you for noticing this issue - indeed the zIndex should be exposed in both files.
spstratis commentedon Jun 23, 2016
Is it planned to add z-index support to all API levels that are supported by Nativescript? For example API 19?
NickIliev commentedon Jun 23, 2016
@spstratis for API levels below 21 you can use as a workaround an absolute layout and order your elements - the last one will be placed on top.
For example:
If you want to dynamically change the order of an element you can again use the native API method bringToFront()
For example:
in your page.xml (three blocks but the smallest (mr-blue) will be hidden behind the green one)
in your page.js
This will bring mr-blue to the front
spstratis commentedon Jun 26, 2016
@NickIliev Thanks, I will try this out and see if it works. In my case everything is within a GridLayout.
lock commentedon Aug 29, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.