Anyone know how to create a custom menu like this in android apps? - android-layout

hii,I was just learning android i want create menu like this at this image This Menu
i was confused make this,anyody know how i can do it with 4 item like the link above ?
please help me.
sory if my language english bad.

To my knowledge custom menu and options menu can be modified (adding and removing menu items) easily.
If u want your own custom option menu, you may have to simulate by creating layouts.
1) Creative a layout and inflate the layout and show on clicking on the menu button.
2) If u want to occupy whole screen then better use Images and TextViews and create a new activity and launch the activity on clicking the options menu in OnCreateOptionsMenu().
Please find the links below
Custom menu in android
Android: creating a custom menu on the bottom

Related

How do I define the items in the menu row or even better have the default format menu item appear in the toolbar?

I changed menu to this:
menubar: 'format table tools help'
But what appears in the menu in my editor is just format. Table, tools, and help don't appear. Why is that so?
Also, if I want to get rid of the menubar I know I need to set
menubar: false
but is there a way of getting that nice format item from the menubar into the toolbar?
Thanks.
In order for the item to appear in the menu you also need to load the plugin itself. If (for example) you don't load the help plugin TinyMCE won't show a Help menu because the underlying functionality is not loaded.
is there a way of getting that nice format item from the menubar into
the toolbar?
The short answer is "no". A menu item and a toolbar item are different. That being said, many of the capabilities exposed via the Menubar can also be exposed via the Toolbar.
Here is an example of loading both the Help menu option as well as the toolbar button.
https://fiddle.tiny.cloud/S5haab

Android Studio layout design view doesn't show menu bar items?

i've defined a simple menu in res/menu/simple_menu.xml, with a single item called TITLE2. i then iflate this menu in my MainActivity, and all is good (See device screenshot on right, where my TITLE2 is visible in the action bar top right. however, in the layout preview (activity_main.xml, Design view, left image in below) the menu item is not visible! is this intentional? is there a way to get my menu items to show up in preview mode? thanks,
<item
android:title="TITLE2"
app:actionProviderClass="com.example.chimee.MyActionProvider"
app:showAsAction="collapseActionView"/>
play with showAsAction for a while collapseActionView will add an item menu to a vertical list menu Something like this:
is there a way to get my menu items to show up in preview mode?
No, because the menu items show up in the action bar after you inflate it in your Kotlin/Java code.

Android Studio: I want to create a filter icon on my toolbar on specific activity/fragment only, using recycle view

This is the result that I want:
I want to create the filter icon however, I'm not sure if it's even possible. I've searched on youtube however, it's all regarding the search icon. I want the filter icon to be able to open a drawer, in which I'll be able to select what I want to filter. e.g alphabetical order/year, within the recycle view.
you can create menu xml and can load those to the toolbar . onCreateOptionsMenu can be used to inflate the menu and onOptionsItemSelected will help to identify the click of the menu.
Refer : here

Orchard CMS 1.5 Navigation sub menus

New to Orchard. I have been looking for some documentation on how the menus actually work. It appears that you can have hierarchical menus, but I cannot find any good information on this.
It took me a while to figure this out too. You can see how to create a navigational menu in this video (around 8:45, but i'd recommend watching the entire video).
Basically, you need to drag & drop an item below and to the right of another content item in order to make a nested menu item.
Yes, you can. Since 1.5 you can create hierarchical menus from Navigation admin screen. Hierarchy (and reordering) of items can easily be created by drag & drop.
Navigation screen is used to define your menus. In order to display a defined menu you need to put Menu Widget in the zone of your choice. When you create that widget you need to choose which menu is it going to display. Besides the choice of the menu, you can also choose some other optional parameters if you need to customize the display more (eg. display only certain level).

DX TreeList - how to make Popup menu on Tree Nodes?

i use DevExpress TreeList. Does anyone can put some example, how to create simple popup menu and add this menu on Nodes in TreeList..?
If you want to use the devexpress popup menu control then check out this tutorial: http://www.itjungles.com/devexpress/how-to-easily-create-popup-menu-for-devexpress-treelist
treeListObject.ContextMenuStrip = contextMenuStrip1;
contextMenuStrip1 - here is simple standard .NET context menu strip.

Resources