It looks fine, and enlarges properly in draw9patch. Are you certain the layout where it's used as the background actually gets larger width and / or height?
Try setting android:background="#FF008040" or some such to check. -- Kostya 2011/6/20 Nikolay Elenkov <[email protected]> > On Mon, Jun 20, 2011 at 11:06 PM, Jake Colman <[email protected]> wrote: > > > > I realize that this is not a programming question but I'm hoping someone > > here can help with a quick solution. > > > > I have a 9-patch file that I use as my widget background. I did not > > create it, I found it on the web. I am using the image as both a 1x1 > > and 2x1 background depending on the widget size. My problem is that the > > background does not stretch to fill the full size of the 1x1 or 2x1 > > cell. > > I seems the outer part is transparent, that is why it doesn't fill > your full widget size. It's a trick to make widgets look smaller > than the standard cell size. You need to cut out the transparent > bits to make it work. > > And no, no one will do your work for you. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

