How to achieve a menu similar to the one in the image? I have a camera preview and would like to manipulate some of the colors using a seek bar. How can I display such a menu with transparent background and what is the name of that kind of menu?
You can do that with help of context menu
may be this tutorial will help u out to built the this type pf menu
but in case of context menu there is a long click
check them out these are some of the examples of context menu
http://www.anddev.org/creating_a_contextmenu_on_a_listview-t2438.html
http://coderzheaven.com/2011/03/context-menu-in-android/
Related
How can i create the pop up menu exactly in my Android list view like this having material design effects and pop up animation? can anybody help with the code?
When i click on the 3 dots the Menu should popup on its top like in the below image:
You could try and use the PopUp Menu.
Here is a link tk more information: http://developer.android.com/reference/android/widget/PopupMenu.html
You can also provide a custom layout to it, if it's another layout you want.
I need to create some type of quick action menu that appears to the right side of the clicked item (button) whenever the user clicks the button.
Here's an example of what I'm trying to achieve:
When the user clicks button1 I want the "sub quick action menu" to appear like it's shown in the image above.
Is there anyway to do this 'natively' in android?
I have found this plugin but it only allows you to show the menu from the top or bottom of the button.
https://github.com/lorensiuswlt/NewQuickAction3D
As tyczj said, you could achieve that with a PopupMenu. The idea is that the popup menu will inflate a custom view with all the elements, having as background a 9 patch image.
Here's a blog post that shows how to do that. Hope it will help you.
You can do the same using Quick Action Menu, for more details you can follow the
"http://www.codeproject.com/Articles/521455/Quick-action-pattern-in-Android-and-simple-impleme"
Link.
In example Items are presented in horizontal manner, whereas you can manage them, like listview as per your requirement.
there is a PopupMenu but there is no arrow or anything pointing to where it came from. Its basically the same thing that comes up when clicking the Overflow actionbar item
Maybe this link can help you ;) But instead of sliding use press button.
Making a slide menu
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 would like to create an simple menu type Action Bar along the top. I like using buttons, but need the color or image to change and hold when on selected link. Or else, could a radio button be used as an alternative to Action Bar? I would like it to look like the menu tabs on this screenshot link: view link hereThank you!
i want to show dialog like attached Image. an image to the left and text
with single selection.
any one guide me how to achieve this?
For that you have to customize the Context Menu because native context menu doesn't support for icon display inside the dialog, instead it only supports the text to be displayed inside each item.
The image which you have mentioned here is customized context menu with icon. Here is the same example which you want:
Source code for the above link: http://code.google.com/p/iconcontextmenu/
To create the dialog like the image is showing, for this you can use context menu. And if you want the dialog like that only then let me know.