On Sun, Apr 24, 2011 at 5:54 PM, Keith Wiley <[email protected]> wrote:
> I want to intercept an EditText long-press and do something with it
> other than present a contextual menu.

Please don't. Users will expect the standard EditText context menu to
appear, so they can do silly things like edit the text. Android
developers get ripped to shreds by users and the media for having zero
UI discipline, breaking existing UI patterns and causing no two apps
to work the same -- your proposal is a case in point.

If your goal is for users to not edit the text, then don't use an EditText.

If your goal is for users to edit the text, leave the context menu
alone, and find some other way to trigger whatever it is that you are
trying to do.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 3.0 Programming Books: http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to