R
R
researcher11112017-07-21 20:49:41
Android
researcher1111, 2017-07-21 20:49:41

How to fix the location of an object on the screen in Android Studio?

There are elements in Android Studio, during the preview, I set them as they should. But when poured onto the device, they all shift to the very top. Specifically, these are textView and textClock. How to fix their location?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrei K, 2017-07-22
@researcher1111

Let me guess, you're using a ConstraintLayout and just throwing elements on it without specifying any constraints?
If yes, then look here:
ConstraintLayout

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question