我想建立一个dropdownmenu为Android 2.3.3。但我不知道该怎么做。有人可以推荐一些例子(Github上等等)?这将是非常有益的。下面有个Dropdownmenu的样品图片。
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.
感谢
推荐答案
我认为这是Android的3.0和了操作栏的一部分。 developer.android/guide/topics/ui/actionbar.html
I think it's part of the action bar in android 3.0 and up. developer.android/guide/topics/ui/actionbar.html
要使用它在早期版本中,你必须创建你自己或者我认为你可以使用开源的操作栏。如 actionbarsherlock/
To use it in earlier version you have to create it your self or I think you can use open source action bar. like actionbarsherlock/
您可以只建立一个列表中相对布局内,使其不可见,直到你preSS的按钮。
You could just build a list inside a relative layout and make it invisible until you press the button.
更多推荐
Dropdownmenu Android中(2.3.3)
发布评论