I have the Action Bar working properly with a Tab Listener and multiple tabs as 
described in the API Demos package.
This piece is working well.

I would like to add a Context Menu (long click listener) to the Action BAR Tab 
button itself.  I know how to add the longClickListener to the ListFragment 
attached to the tab.  I want a Context listener on the TAB button itself to 
update the list or delete the TAB, etc.

I don't understand how to get the View assigned to the TAB Button itself.

The API allows me to set a custom view to the TAB button.  
ActionBar.Tab.setCustomView( ).  This might work.  To use setCustomView I 
assume I would clone the view definition for the TAB button and assign an ID to 
it.  I don't understand where to find the TAB view to clone.

Might the ActionBar.Tab button have an android.id I might use?  If so, where do 
I find what that ID might be?

Thanks for any help/pointers you can offer.

Regards,

Jim


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to