When I tried to use ActionBar
and specify the navigationMode
eclipse says it is deprecated without suggesting the recommende one to use instead.
what should i use instead of this.actionBar.setNavigationMode(mode)
?
When I tried to use ActionBar
and specify the navigationMode
eclipse says it is deprecated without suggesting the recommende one to use instead.
what should i use instead of this.actionBar.setNavigationMode(mode)
?
There is no alternate method to use from the now deprecated setNavigationMode
since the Toolbar
is basically a stripped down version of the actionbar where you put in the views you want inside the toolbar.
for example if you wanted to replicate the Dropdown navigation mode you would put a spinner inside your toolbar