Re: [android-developers] help with patch 9 image file

2014-07-19 Thread dashman
Thank you. That was it - spent 3 hrs on this!!! -- 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+unsub

Re: [android-developers] help with patch 9 image file

2014-07-19 Thread Kostya Vasilyev
Maybe try putting it under "drawable-nodpi" to avoid scaling? -- K 2014-07-19 23:45 GMT+04:00 dashman : > I've got a simple .9.png file. > > Trying to create a red background with a 1-pixel gray border. > > My png file is 5x5 pixels > > --B-- > -GGG- > BGRG- > -GGG- > - > > B black > G gray

[android-developers] help with patch 9 image file

2014-07-19 Thread dashman
I've got a simple .9.png file. Trying to create a red background with a 1-pixel gray border. My png file is 5x5 pixels --B-- -GGG- BGRG- -GGG- - B black G gray - hex 99 R red - transparent The problem is when the image is displayed - it seems to display a gradient - gray from the edge