In android, I want to create a dropdown menu like the following:
I've seen some examples where there are just buttons, and no text (like QuickActionView), but none like this. If someone could direct me to some open source code, that'd be great, or point me in the correct direction.
Thank You in advance.
Android's ActionBar does exactly this. Unfortunately, it is only available for 3.0 and up. However, you could use ActionBarSherlock.
Related
I'm trying to create this like this form.
This is a TPopupMenu or a TPanel or a TForm? I try with panel and it works, but i dont know if exist's anyway simpliest to do this.
Anyone know's the right way to do this?
similar questions was posted here PopupMenu with icons but isn't DelphiXE5
Take a look to this article:
Creating an Overflow Menu on Android, it is a TListBox what is used but i think it is what you are looking for.
http://tinypic.com/r/2v85soh/5
Hi!,
Do you see that bottom arrow pointing up? I want to allow users in Android to be able to drag it and use buttons from there!
Regards,
Michael
Android has a SlidingDrawer UI component that can be used for this sort of thing: http://developer.android.com/reference/android/widget/SlidingDrawer.html
Android has a SlidingDrawer widget, but it's deprecated. I would look online for open source libraries/projects that have implemented this kind of functionality. Perhaps something like this: AndroidSlideUpPanel
i want to make menu in my android app which looks like the one in the dropbox-app.
I guess I have to work with fragments, what I already do, but i cant find any examples on how to implement this. Maybe someone can give me any hints how to make this menu like:
Here you can find an example image of the dropbox app:
You can open it with a single click. I want to use it on a gridview.
Maybe I just do not know the right name of such a menu to search for.
Thanks in advance for your help!
Action bar is supported in 3.1 API's but you can use context menu for this
Or This can also be done using "sliding drawer "
I would like to build a dropdownmenu for Android 2.3.3 . But I dont know how to do that. Can somebody recommend some examples(Github etc.)? It would be very helpfull. There is a sample pictures of a Dropdownmenu below.
Thanks
I think it's part of the action bar in android 3.0 and up.
http://developer.android.com/guide/topics/ui/actionbar.html
To use it in earlier version you have to create it your self or I think you can use open source action bar. like http://actionbarsherlock.com/
You could just build a list inside a relative layout and make it invisible until you press the button.
Looks like a normal Spinner to me.
Here is an example: http://developer.android.com/resources/tutorials/views/hello-spinner.html
I'm trying to cope with some problem in finding good idea. I would like to make interesting menu like in games on Android (eg. ANngry Birds or here: http://www.youtube.com/watch?v=Q3g6SdTODY4) In this panda game I supose that first menu are simply 3 color buttons, but what about this sliding menu later with stages description - this same as in angry birds? Telling the truth I have got no idea what object it can be?
I will be glad if someone can tell me that. Or the best to give some tutorials about it. I cant google any.
Well, it seems that this sliding stage description is implemented with some simple layout placed to HorizontalScrollView and some animation applied to the buttons.
It can be your custom view provided with your translation animations and handling its visibility on the click of the default menu button (via onKeyDown()) on Android.
There are similar questions:
Custom options menu in Android
Android: customize application's menu (e.g background color)