[android-developers] Re: How to create Hexagon in android ?

2012-09-03 Thread skink
On Sep 3, 7:49 am, Meena Rengarajan wrote: > > http://schemas.android.com/apk/res/android"; > >     android:shape="Rectangle"> >             android:startColor="#F778A1" >         android:endColor="#D4A017" >         android:angle="180"/> >     >             android:top="9dp" >         andro

[android-developers] Re: How to create Hexagon in android ?

2012-09-03 Thread Dancing Fingers
Been there, done that, pretty sure you can't do it in TextView unless you use Path over an image Button. I used a Canvas and drew it. Chris -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

[android-developers] Re: How to create Hexagon in android ?

2012-09-03 Thread skink
Dancing Fingers wrote: > Been there, done that, pretty sure you can't do it in TextView unless you > use Path over an image Button. I used a Canvas and drew it. > > Chris why? just use proper Drawable, let it be a ShapeDrawable or a custom one pskink -- You received this message because you

[android-developers] Re: How to create Hexagon in android ?

2012-09-03 Thread Dancing Fingers
How do you get the corners not to be clickable? That was my problem. I created a whole keyboard of Hexagons. Chris -- 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

[android-developers] Re: How to create Hexagon in android ?

2012-09-03 Thread skink
Dancing Fingers wrote: > How do you get the corners not to be clickable? That was my problem. I > created a whole keyboard of Hexagons. > Chris ok, now i get it pskink -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

Re: [android-developers] Re: How to create Hexagon in android ?

2012-09-03 Thread Meena Rengarajan
At: Dancing Fingers batym...@gmail.com Canvas , yeah i too seen tat . Is it working for you ? Are you sure ? On Mon, Sep 3, 2012 at 6:21 PM, Dancing Fingers wrote: > Been there, done that, pretty sure you can't do it in TextView unless you > use Path over an image Button. I used a Canvas and d

Re: [android-developers] Re: How to create Hexagon in android ?

2012-09-03 Thread Meena Rengarajan
Do u have any sample codes or links atleast example . I have tried a lot ! But no use. I didnt get any changes in my app. On Mon, Sep 3, 2012 at 8:43 PM, skink wrote: > > > Dancing Fingers wrote: > > Been there, done that, pretty sure you can't do it in TextView unless you > > use Path over an i

Re: [android-developers] Re: How to create Hexagon in android ?

2012-09-03 Thread skink
Meena Rengarajan wrote: > Do u have any sample codes or links atleast example . I have tried a lot ! > But no use. I didnt get any changes in my app. > i already posted sample code: see my firsr post pskink -- You received this message because you are subscribed to the Google Groups "Android

Re: [android-developers] Re: How to create Hexagon in android ?

2012-09-03 Thread Meena Rengarajan
I tried that. But no changes have seen in my app . Anywys again let me try ! On Mon, Sep 3, 2012 at 9:00 PM, skink wrote: > > > Meena Rengarajan wrote: > > Do u have any sample codes or links atleast example . I have tried a lot > ! > > But no use. I didnt get any changes in my app. > > > > i a

Re: [android-developers] Re: How to create Hexagon in android ?

2012-09-04 Thread Justin Anderson
> > How do you get the corners not to be clickable? That was my problem. I > created a whole keyboard of Hexagons. > You would have to do this in code... When the user clicks the button check if it is in the bounds of the Hexagon shape... If it is then process the click, otherwise ignore it. Th