If the red lines are showing the edges of your actual image, then you have something else going on that has nothing to do with the image.
--
Dianne Hackborn
Android framework engineer
hackbod@android.com
Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them.
-- On Fri, Apr 1, 2011 at 9:36 AM, pskink <pskink@gmail.com> wrote:
hi,i want to create a dialog with custom background. in order to do that i use "windowBackground" style pointing to my 9-patch drawable.the problem is that 9-patch drawable is a big rectangular area with some "icon" on the top-left position and when i use it i get dialog which is centered within entire bounds (see *have_it.png* image, the thin red line outlines dialog bounds)what i'd like to get is *want_it.png* image. i tried to play with 9-patch "padding" lines (the bottom & right black lines) but it doesn't help.what is possible solution for this? maybe InsetDrawable?thankspskink--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
Dianne Hackborn
Android framework engineer
hackbod@android.com
Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them.
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en