KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I created a custom background image and wanted to use it as the background for a layout that has height of wrap_content . However, the total height of the contents of within that layout are much less than the height of the background image. When I set it as the background in XML via android:background="@drawable/image" , I noticed that it displays the entire height of the image, although the height of the actual contents are much shorter. Is there a way to stop this from happening? Thanks.
Tags (comma-separated)
Save Edits
Cancel