小部件显示图标

问题描述

从android文档中,在小部件上,我可以使用以下信息获取信息图标:

appwidgetproviderInfo.icon

在文档中写为:

/**
     * The icon to display for this AppWidget in the AppWidget picker. If not supplied in the
     * xml,the application icon will be used.
     *
     * <p>This field corresponds to the <code>android:icon</code> attribute in
     * the <code>&lt;receiver&gt;</code> element in the AndroidManifest.xml file.
     */

但实际上,如何在我的应用程序中显示它(它是另一个应用程序中的小部件图标)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)