Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在 Android 3.0+ 中使用菜单项的自定义视图创建 ActionBar ActionProvider?到目前为止,我已经看到了这些带有图标和文本的内容,以及带有复选框的文本,但是是否可以改为膨胀任意视图?
提前致谢。
ShareActionProvider间接使用PopupWindow,它可以容纳你想要的任何东西。
ShareActionProvider
PopupWindow
标签