Friday, April 29, 2011

[android-developers] Add context Menu to private class View

Hi all,

First post and just getting into Android development so please be
patient with me. I would like to implement a context menu / menu of
some kind when a long click is done on the screen. I can do this under
a normal class when it extends the Activity but i am unsure how to do
this under a private class.

I create a new private class to draw certain shapes etc and use the
onDraw method to draw the items. Very similar to
http://bestsiteinthemultiverse.com/2008/11/android-graphics-example/

Once i call the private class i do not see any events in my main class
as expected.

Any help on this would be appreciated.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate