Align background Drawable in the bottom left corner

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Align background Drawable in the bottom left corner

Postby XenoByteZero » Fri Jan 15, 2010 3:18 am

Hi,

I've been trying for ages to get a small image as a Drawable on a background to sit at the bottom left corner of a ScrollView. The best I can get is an InsetDrawable with relevant inset values, but that involves taking the height and width of the view which isn't available on the onCreate() call.

Is there another call I can override when getWidth() and getHeight are ready or is there a really easy way of doing this that I have totally missed.

Cheers
XenoByteZero
Freshman
Freshman
 
Posts: 2
Joined: Fri Jan 15, 2010 3:14 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 9 guests