android pop up menus

后端 未结 3 580
孤街浪徒
孤街浪徒 2021-02-06 05:39

I cannot find either one of these two views in the source, but have seen them both in many apps. Can anyone please tell me what they are called?

Thanks

3条回答
  •  醉话见心
    2021-02-06 06:05

    The second one I think is just the way that the default menu looks in ICS (and honeycomb for that matter). If you build for 4.0 and include the code for an options menu I think you'll get that UI by default. If you are looking to customize it check out this page http://developer.android.com/guide/topics/ui/actionbar.html and pay close attention to the "Adding drop down navigation" section.

    The first one is not a part of the android UI, that is something specific to the facebook app.

提交回复
热议问题