Drawing a shape or path on top of a standard button

Put your problem here if it does not fit any of the other categories.

Drawing a shape or path on top of a standard button

Postby Nomad0404 » Wed Mar 23, 2011 2:29 pm

Is it at all possible to draw a shape or path on top of an ImageButton from within an activity.

All I can see is stuff about using .setBackgroundDrawable but if I use that it changes the overall shape of the button.

I need the button to stay the same as my other buttons but with a shape on top of it that I can change within the activity at will - so I can't use a predefined image.

Any help?

Cheers

Phil
Nomad0404
Junior Developer
Junior Developer
 
Posts: 19
Joined: Mon Mar 07, 2011 10:23 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 6 guests