I have an androidx application that uses an ActionBar for the main activity. It has the standard options (...) button on the right side. All good.
What I'd like to do is to implement a long press on that (...) button which would allow me to display an advanced menu - this is in support of a demo where a "super user" will need additional options.
So my question is, can I get a reference to that (...) button and add a long press handler?