[android-developers] Adding EditText custom context menu items *before* system defaults

2011-03-23 Thread Mark Carter
I'm trying to added a context menu item *before* the standard Select all, Select text etc menu items. From what I can see, those standard items use CATEGORY_CONTAINER for ordering. Whatever category I specify in the order field of the add() method, the custom menu items always appear *after

Re: [android-developers] Adding EditText custom context menu items *before* system defaults

2011-03-23 Thread TreKing
On Wed, Mar 23, 2011 at 2:37 AM, Mark Carter mjc1...@googlemail.com wrote: Is there any way to override this? Could you remove them, add yours, then re-add the defaults? - TreKing

Re: [android-developers] Adding EditText custom context menu items *before* system defaults

2011-03-23 Thread Mark Carter
Yep, that's my current workaround - seems to work OK... On 23 March 2011 23:57, TreKing treking...@gmail.com wrote: On Wed, Mar 23, 2011 at 2:37 AM, Mark Carter mjc1...@googlemail.comwrote: Is there any way to override this? Could you remove them, add yours, then re-add the defaults?