I just dropped the image into my project, and set it as an
android:background for a layout (activity, not wiget).

It worked fine.

It's a good sign that your widget is getting filled with color - perhaps
there is something unusual about how you set the background?

I would try the simplest thing possible - set it with android:background and
remove any code that might touch that.

-- Kostya

2011/6/20 Jake Colman <col...@ppllc.com>

>
> Using some new preference settings in my widget, the user can completely
> replace the background image with a color.  When I do that, the painted
> area is quite a bit larger than the area covered when I use the
> background image.  I think that is the equivalent of what you asked me
> to check, correct?
>
> ...Jake
>
>
> >>>>> "KV" == Kostya Vasilyev <kmans...@gmail.com> writes:
>
>   KV> It looks fine, and enlarges properly in draw9patch.  Are you
>   KV> certain the layout where it's used as the background actually
>   KV> gets larger width and / or height?
>
>   KV> Try setting android:background="#FF008040" or some such to check.
>
>   KV> -- Kostya
>
>   KV> 2011/6/20 Nikolay Elenkov <nikolay.elen...@gmail.com>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to