[android-developers] draw button's background as a filled circle with transparent background

2010-11-24 Thread gato chlr
Hi, I'm trying to customize a button in order to have a rounded button. Also i can't use an image s background. So i need to do draw a circle and set it as the background of the button. I have been trying to draw a shape and use it as button's background but, it looks like a rectangle button,

Re: [android-developers] draw button's background as a filled circle with transparent background

2010-11-24 Thread Kumar Bibek
Well, you could use a 9 patch png for your button's background. Your approach is also fine. I guess, you need a little modificaton with your shape file. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Thu, Nov 25, 2010 at 12:35 AM, gato chlr dany...@gmail.com wrote: Hi,

Re: [android-developers] draw button's background as a filled circle with transparent background

2010-11-24 Thread gato chlr
thanks for the answer!, any way , I'm trying to work without images. As far as i can see, the Button view is painted inside a gray rectangle, so when i draw the oval shape that gray background appear behind the shape. Some idea? On 24/11/2010, Kumar Bibek coomar@gmail.com wrote: Well, you

Re: [android-developers] draw button's background as a filled circle with transparent background

2010-11-24 Thread Kumar Bibek
Well, I tried it, and it looks fine. Both on the emulator and the phone. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Thu, Nov 25, 2010 at 1:51 AM, gato chlr dany...@gmail.com wrote: thanks for the answer!, any way , I'm trying to work without images. As far as i can

Re: [android-developers] draw button's background as a filled circle with transparent background

2010-11-24 Thread gato chlr
Thanks Kumar, i'm trying 9 patch. tell you On 24/11/2010, Kumar Bibek coomar@gmail.com wrote: Well, I tried it, and it looks fine. Both on the emulator and the phone. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Thu, Nov 25, 2010 at 1:51 AM, gato chlr