Is it possible to change android:minWidth and android:minHeight in widget configuration activity.
I want to be able to give user a selection of different sizes/types like in htc sense widgets, how did they succeed?
Is it possible to change android:minWidth and android:minHeight in widget configuration activity. I want
Share
Different sizes in one menu entry are not possible. Thats a sense/custom launcher specific feature. The only exception is Honeycomb, you can have resizable widgets there.
What you can do is multiple types of widgets from one menu entry, as long as they are the same size. Use a configuration activity to select the type, remember it (e.g. in the
SharedPreferences) and then set the layout in yourRemoteViewswhen updating the widgets accordingly. You can use theappWidgetIdas an identifier to remember which instance has which layout.