Prohibition of action

Hi, I am creating an application in which I plan to show the gender and category of a wise list of stores inside the mall.

Below snap will show activity showing the minimum list of stores enter image description here

I was thinking of adding a counter to the ActionBar, showing "in half" and "by category" as parameters. Clicking on "categories" will sort the stores according to the category in which they belong. After I worked a little, I found

getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);

would be appropriate, but now I see that its deprecated, putting it as an action element in the action menu does not look like a very good idea. Any suggestions?

+4
2

setNavigationMode , Lollipop .

:

1.

+8

Google I/O 2014 Android ,

SlidingTabLayout.java,

SlidingTabStrip.java

, , .

0

Source: https://habr.com/ru/post/1568809/


All Articles