问题
I have 2 different backgrounds to the Action bar. One light and another dark. One for the default title and another for the CAB (when some of the elements are selected/activated).
I would like to have 2 different overflow when in those different states. I tried the selector but couldn't find the state to represent when in CAB mode.
Any idea how to provide different overflow buttons?
- On a more general note, where can I start exploring the Action Bar so I could find the answers myself instead of finding bits and pieces all over the inet? I would expect Google/Android to provide a starting point. I guess I just didn't find it.
来源:https://stackoverflow.com/questions/13934825/how-to-change-the-overflow-button-when-in-cab