开发者

How to create customized Views for AppWidgets?

开发者 https://www.devze.com 2022-12-17 08:23 出处:网络
There is a given set of predefinie开发者_运维技巧d Views that can be used in layouts for AppWidgets. How can a customized View added to this list?

There is a given set of predefinie开发者_运维技巧d Views that can be used in layouts for AppWidgets. How can a customized View added to this list? The minimum requirement is that the class is annotated with RemoteView. What else is necessary to be acceptable as view in the layout.xml?


You cannot use custom views as RemoteViews and it is not currently planned.

0

精彩评论

暂无评论...
验证码 换一张
取 消