> Is it possible to initiate a onClickListener on a Rect?

No, you'll have to do the test yourself. You could try with a
TouchDelegate though.

> Second question, how can i manually draw a button with using any xml. I
> tried creating a button then setting width, height, text, and then
> draw(Canvas). But it never appeared on the screen.

I don't understand your question? What is your goal and what did you try?

-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to