-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When adding an icon-only ActionBar control in Android, you must specify showActionAs
to either "always" or "ifRoom" in order to get the control on the main ActionBar.
The idea is you can have items on the main ActionBar, and these should specify an icon (you can have text only, but it looks like ass). Or you can have them on the secondary drop down menu from the ActionBar, where you must have text (and the icon is ignored). I decided in my infinite wisdom to default to requiring text and I putting the item on the secondary menu. If you want an icon control on the top-level ActonBar, then you specify the icon
attribute and set the showAsAction
to "Always" (or "IfRoom" if that's how you roll).
Metadata
Metadata
Assignees
Labels
No labels