How to create a dynamic menu or using layout. If i click on image then open one menu in this menu if i click on option then another menu open like sub menu :
please find below image to batter understanding :
Related
how to make the bottom navigation menu no select any menu item when startup the application??
i am trying to set
bottomNavigationView.getMenu().getItem(0).setChecked(true);
but this is not working..
this is the layout i want
bottomNavigationView.setSelectedItemId(R.id.myTabId);
You can use this code to select a option programmatically at start.
Hi i have implemented a Android sliding menu using navigation drawer with help of WWW.androidhive.info tutorial.
now my question is , is it possible to have sub menus in the sliding menu?
i mean for example assume i have four options in sliding menu "Facebook","twitter","watsup","android". and my question is , if i press on Facebook a sub menu must come in down, with in that i must have some other options , like "photos","places" etc..
when i click on Facebook a drop down menu must appear by pushing down the other items(twitter,watsup,android) in the sliding menu.
(i want sub menu should be shown in the same sliding menu. not in a new sliding menu)
Why not use the expandable list views in the drawer layout : http://developer.android.com/reference/android/widget/ExpandableListView.html
Use ExpandableListView instead of ListView in the navigation drawer.
I easily creating context menu but how to create menu Like a Context Menu just like picture. I unable to code like this. Is it possible to create in Android.This Menu Not a on middle of the mobile, it is just few portion overlap the clicking image.
You need to design custom spinner component which will be displayed on click of the image
This link may help you:
Custom spinner drop down menu
I noticed that some android applications are adding its own menu item to the "Select wallpaper from" menu. Please how can I add my own item to the menu?
The menu is accessible from home screen by clicking to menu and clicking to the Walpaper item.
You create you own live wallpaper.
What are the differences between the following types of menus in Android?
option menu
context menu
sub menu
Can anyone give me an explanation and an example for each?
Option menu: The menu that appears when you press the menu button
Context menu: The menu that appears like a dialog with a list when you (mostly) longpress on list elements
Sub menu: can be used to display more menu items with your option menu.
More details: http://developer.android.com/guide/topics/ui/menus.html