The underlying native widgets are accessible trough the ios
properties of the view. Only one of these properties will have value at runtime, depending on the current platform. You can find more information about the concrete type of the widget backing each View in the ui-widgets article
You can do a simple check and set some platform specific properties like this:
// do something to button.android, which is android.widget.Button
// do something to button.ios, which is UIButton
I have also created a gist that shows how to set page background to a gradient using this approach. You can find it here
Note, that currently creating a Java native array from NativeScript is quite cumbersome - we are currently working on improving the API.
I hope that was helpful - we will appreciate any feedback you have.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.