zsniperx
zsniperx

Reputation: 2742

Different widgets one configuration activity android

Some apps clog up the select widget activity by adding different configuration activities. like the screenshot here: Multi Configuration activities

Is there a way to have one icon in the select widget (like Mini Info) and one configuration activity and set different layouts for widgets there?

Thank you

Upvotes: 0

Views: 979

Answers (1)

CommonsWare
CommonsWare

Reputation: 1007624

Some apps clog up the select widget activity by adding different configuration activities.

Those are not multiple configuration activities. Those are multiple metadata files, to provide multiple sizes of the app widget.

Is there a way to have one icon in the select widget (like Mini Info) and one configuration activity and set different layouts for widgets there?

Layouts? Yes. Size? No. The size is part of the metadata file and cannot be modified at runtime.

Upvotes: 2

Related Questions