android - Toolbar: changing menu items and background and items color -
in application want toolbar behave in google applications.
in apps, when select items list, toolbar changes it's menu items, , changes it's color , statusbar color. followed animation.
i know best way of doing that. maybe there official api, or library?
here thoughts:
having 2 sets of menu items , manually adding/removing or showing/hiding them, , changing toolbar color property animator
having 2 toolbars @ same position, , replacing them when needed. (you can see on .gif image toolbar's title's margin changes, there 2 toolbars)
?
it called action mode
. used show options specific operation.
have @ link creating contextual menus.
Comments
Post a Comment