我有一个带有 textview 和 imageview 的 appwidget 布局。
Lint 总是告诉我用复合 TextView 替换它。
问题是,如何使用 RemoteView 调用 setCompoundDrawables? 可能吗?
谢谢。
最佳答案
此选项是在 API 级别 16 (Android 4.1 Jellybean) 中添加的:
关于android - setCompoundDrawables 与 RemoteViews,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9819283/