D
D
Dmitry Richter2014-06-28 19:30:00
Android
Dmitry Richter, 2014-06-28 19:30:00

How to fit an image to all screens in Android Studio?

There is such a problem, you need to make the picture look proportional to the screen size, so that it stands in its place and does not stretch or shrink on different screens. I don’t understand much, since I just joined all this. On my phone, she stood in the right place, it’s understandable, but how can I make her stand proportionally in the same place only on a different screen?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Marat S, 2014-06-28
@followthemoney

Well you do not specify absolute value.
if you set it to the left of the screen at 10dp and the picture size is 100dp.
then visually it will look almost the same on all devices.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question