In my app I have a 4×2 Widget and now I wanted a second 4×1 Widget displayig almost the same content, so I created a secondary appwidget-provider xml. When I then wanted to use the same Widgetprovider Android only showed one widget in the list. 🙁
As I found out, you have to use for each Widget defined in the Manifest another widgetprovider… why?
how to add multiple widgets in one app?
Furthermore I would liek to have only one widget entry in the List…
Can I change the appwidget-provider xml in the AppWidgetConfig Activity so that I don’t have to use the initial size? how?
Because that is the way they wrote it.
Then only define one
AppWidgetProviderfor only one size of app widget.No.