E
E
En1q0d2016-02-18 14:55:32
Android
En1q0d, 2016-02-18 14:55:32

How to accurately place items in an Activity on Android?

How to arrange elements, for example ImageView, on the screen so that they occupy a certain position at all resolutions? For example, I have a background that depicts mountains, and I want to make sure that the house is located exactly at the foot of this mountain at all resolutions. Please help!)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Severus256, 2016-02-18
@severus256

Dig towards relative placement.

A
Alexey Reznichenko, 2016-02-19
@ReznichenkoLex

Can you be more specific?
The background with the mountains is just some kind of bitmap with a random mountain in a random place or what?

K
Konstantin Dovnar, 2016-02-18
@SolidlSnake

Read about different Layouts and how they work.
There can be multiple solutions to a single layout problem, depending on how you build them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question