Submenu in the application

Is there a submenu in Android?

What do you call this view in Android?

submenu

+2
source share
4 answers

https://github.com/D8thReaper/android-navigation-menu-expandable. .

Screenshot

ExpandableListView .

<ExpandableListView
android:id="@+id/left_drawer"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:dividerHeight="1dp"
android:divider="@color/list_divider"
android:listSelector="@drawable/list_selector"
android:background="@color/list_background" />

, BaseExpandableListAdapter

public class NavAdapter extends BaseExpandableListAdapter{...}

drawerList ( ExpandableListView) ActionBarToggle

actionBarDrawerToggle = new ActionBarDrawerToggle(this,drawer,toolbar,R.string.drawer_open,R.string.drawer_close )
+3

This menu is called Navigation drawer... Check out this link , it will help you. The following link will also help you ...

NavigationDrawer

0
source

I think you are looking for an ExpandableListView .

0
source

All Articles