I’m using the actionbar with a tabsadapter. I’d like something to happen when the user long presses on a tab. I’ve been looking around for ways to add a longpresslistener to the tab, but I haven’t found anything. Does anyone know if this is possible?
THANK YOU!
I never found a way to long press a tab. Instead, I overrided onTabReselected. When a user selects a tab, the fragment for that tab is displayed. When the user clicks the tab a second time, a menu appears. It works well.