E
E
eclipse0012020-08-09 16:52:41
Android
eclipse001, 2020-08-09 16:52:41

Getting the coordinates of an element in android?

We have a main screen which is implemented in LinerLayout. On top of it in the ConstraintLayout we have an onboarding curtain. On this curtain, we need to select an element from the main screen.
getLocation... And hit doesn't give correct coordinates, or even null

How can I get the coordinates of this element?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question