Using common view elements in views



I’m looking for any strategy, how to reuse some view components across application.
For example, i want to have some element that holds icons that are navigation elements.

This navigation bar sholud appear on every page, but for now i see that i have to copy this to every xml file ?

Is there a way to make this more niversal, so i dont have to edit all views if i need to do updates with this navigation bar ?

Thanks for advice.


You should read up on using custom components in NativeScript. Basically they are shared chunks of UI code.


Thank you @roblauer i will def do this !