androidandroid-appwidgetandroid-appwidget-list

Change the height of the appWidget programmatically?


Could we change programmatically and dynamically the height of the appWidget at runtime depending to the displayed components of the listview.


Solution

  • No. The size of the app widget is managed by the user, with the assistance of the home screen, not you. You suggest sizing using the app widget metadata, but the actual sizing is out of your hands.

    After all: