Android - Popup menu when list item view pressed?

后端 未结 7 1548
逝去的感伤
逝去的感伤 2020-12-24 15:33

i would like to implement a popup menu similar to google\'s play store as shown below.

\"enter

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-24 15:49

    ActionBarCompat List PopupMenu implementation is here (with back port available because it uses ABC)!

    enter image description here

    You can also get this sample from Github or from SDK (Mr.Morgan commented below)

    /sdk/samples/android-19/ui/ActionBarCompat-ListPopupMenu. Make sure to install Samples for SDK under Android 4.4.2 (API 19)

提交回复
热议问题