ActionBar share item produces “Android System” thingy

前端 未结 1 765
独厮守ぢ
独厮守ぢ 2021-01-14 09:09

I want a share icon in the action bar, upon pressing, a chooser shows up. I have most of this in place, but this unwelcome middle-man steps in...

The menu:

相关标签:
1条回答
  • 2021-01-14 10:09

    But I'm really not interested in engaging his services.

    But you asked for "his services", as you're the one who called createChooser() and decided to use that as your share Intent.

    Get rid of that, returning your ACTION_SEND Intent directly, and "Android System" should go away.

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