Java Code Examples for android.view.MenuItem#isActionViewExpanded()
The following examples show how to use
android.view.MenuItem#isActionViewExpanded() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: LttrsActivity.java From lttrs-android with Apache License 2.0 | 5 votes |
@Override public boolean onMenuItemActionCollapse(MenuItem item) { if (item.isActionViewExpanded()) { animateCloseSearchToolbar(); } if (getCurrentDestinationId() == R.id.search) { final NavController navController = Navigation.findNavController( this, R.id.nav_host_fragment ); navController.navigateUp(); } return true; }
Example 2
Source File: G.java From MiBandDecompiled with Apache License 2.0 | 4 votes |
public static boolean c(MenuItem menuitem) { return menuitem.isActionViewExpanded(); }
Example 3
Source File: MenuItemCompatIcs.java From CodenameOne with GNU General Public License v2.0 | 4 votes |
public static boolean isActionViewExpanded(MenuItem item) { return item.isActionViewExpanded(); }
Example 4
Source File: MenuItemCompatIcs.java From adt-leanback-support with Apache License 2.0 | 4 votes |
public static boolean isActionViewExpanded(MenuItem item) { return item.isActionViewExpanded(); }
Example 5
Source File: MenuItemCompatIcs.java From V.FlyoutTest with MIT License | 4 votes |
public static boolean isActionViewExpanded(MenuItem item) { return item.isActionViewExpanded(); }
Example 6
Source File: MenuItemCompatIcs.java From guideshow with MIT License | 4 votes |
public static boolean isActionViewExpanded(MenuItem item) { return item.isActionViewExpanded(); }