Can Widget configuration differ in any way between widget sizes?

I have a widget that makes perfect sense to have at all three sizes (small, medium, and large). There is an extra element that I would like to give the user the ability to toggle on, but that additional element only really makes sense on the medium and large sizes.

Is there any way to set up the intent such that a boolean value is only shown when configuring a medium or large widget, but is hidden when configuring a small widget?
Answered by in 620413022
A widget must either have an IntentConfiguration or a StaticConfiguration, so you can't do exactly what you're describing with just one widget. You can accomplish a similar effect by making two widgets that use the same implementation for their timeline provider and view methods, and provide both of them with a WidgetBundle.
Accepted Answer
A widget must either have an IntentConfiguration or a StaticConfiguration, so you can't do exactly what you're describing with just one widget. You can accomplish a similar effect by making two widgets that use the same implementation for their timeline provider and view methods, and provide both of them with a WidgetBundle.
Can Widget configuration differ in any way between widget sizes?
 
 
Q