B4A:
B4J
?
I found:
Bounds boundsInScene = node.localToScene(node.getBoundsInLocal());
but I'm not able to use it (Javaobject is enough? I think that I will need inline java code, because of the Bounds type variable)
[there is also:
Bounds boundsInScreen = node.localToScreen(node.getBoundsInLocal());
but I think that the first one is more similar to the Android function.
]
B4X:
Dim leftTop(2) As Int
Dim JO As JavaObject = SomeView
JO.RunMethod("getLocationOnScreen", Array As Object(leftTop))
B4J
?
I found:
Bounds boundsInScene = node.localToScene(node.getBoundsInLocal());
but I'm not able to use it (Javaobject is enough? I think that I will need inline java code, because of the Bounds type variable)
[there is also:
Bounds boundsInScreen = node.localToScreen(node.getBoundsInLocal());
but I think that the first one is more similar to the Android function.
]