Contextual Action Bar in Honeycomb

前端 未结 1 1521
名媛妹妹
名媛妹妹 2021-01-04 18:59

I\'m looking to copy the action bar implementation from the gmail app in Honeycomb

Unfortunately I can\'t post an image because I\'m new here.

Basically, whe

相关标签:
1条回答
  • 2021-01-04 19:41

    Call the startActionMode method available on any View or your Activity. This method accepts an ActionMode.Callback object that will manage the lifecycle of the contextual mode. startActionMode will return an ActionMode object if starting the mode was successful, or null if the request was rejected.

    If you are specifically creating a multiple selection mode for a ListView, you can take a shortcut and use CHOICE_MODE_MULTIPLE_MODAL.

    0 讨论(0)
提交回复
热议问题