How to create custom views for AppWidgets?

There is a certain set of predefined views that can be used in layouts for AppWidgets. How is a custom view added to this list? The minimum requirement is that the class is annotated using RemoteView. What else is needed to be acceptable as layout.xml?

+3
source share
1 answer

You cannot use custom views like RemoteViews, and this is not currently planned.

+4
source

Source: https://habr.com/ru/post/1729497/


All Articles