U
U
Username2016-05-08 14:43:28
Android
Username, 2016-05-08 14:43:28

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.
dd7189d236774ebda7d2986007f7f574.png
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.
497c64b267d14e6080e20b4ca7c63800.png
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 question

Ask a Question

731 491 924 answers to any question