Answer the question
In order to leave comments, you need to log in
How to customize Android ImageView?
Hello. I am just getting started with android development.
How can I make the uploaded image stretch to the top, left, and right edges? Approximately as in the picture below. Tried to use ImageView, but it still does padding. Wherever possible, I already wrote 0dp, even in the most senseless cases.
Answer the question
In order to leave comments, you need to log in
The padding is usually due to the android:padding property in the parent layout. It may be that the size of the picture is small. It would be desirable to look at the layout code and the code for loading and inserting the picture itself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question