Answer the question
In order to leave comments, you need to log in
How to make wrap_content independent of background height?
Good afternoon, in the side menu at the very top, the user profile, which takes a value in height depending on the amount of content, and it looks like this.
But if you specify an image instead of a color, then the height profile takes on the value of the image, since it is larger than the content.
What needs to be done so that the background image does not take part in the formation of the profile height, but is simply cut off?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question