I\'m trying to put an image at the top left of a LinearLayout, but with the image border and padding taking up the whole of the width of the window.
LinearLayout
If
Just configure your ImageView on your layout XML file with something like this: