android - Number of menu button that is guaranteed to be shown in ActionBar -
i did quite lot of research, couldn't find answer one. main quote starting from, official android developer site:
"if believe more 4 of menu items can justified action items[...]" this indicates me, can safely use 4 menu buttons. @ moment, using 3 menu buttons on main screen, popular demand, refactoring mentioned main screen, causes need of 4 menu item buttons.
my question is: 4 standard size, image buttons guaranteed shown @ times, on every device? top of screen in cases:
_____________________________ |[i] asd [1] [2] [3] [4]| ----------------------------- where [i] app icon, "asd" label of activity(which 3 letters), [1], [2], [3], [4] menubuttons, each of them simple image.
thanks in advance, cheers.
this indicates me, can safely use 4 menu buttons
i think reading sentence, wherever got from.
are 4 standard size, image buttons guaranteed shown @ times, on every device?
no.
first, device manufacturers can tinker android , may affect behavior of action bar on devices. now, odds leave alone, "odds are" != "guaranteed". if number of action bar items mandated part of compatibility testing (and afaik not), there device manufacturers exempt such testing because not license play store or other google commercial apps.
second, on -small screen device, 4 buttons might many. two might many, in portrait @ least. have not experimented either actionbarsherlock or native api level 11+ action bar on -small device , not know how many action bar items supports.
moreover, action bar items not fit action bar go overflow (triggered via menu button on devices have them or "..." affordance in action bar don't), user can still access things if icons not visible 1 reason or another.
Comments
Post a Comment