views:

22

answers:

1

Is it possible to have a list with dynamic amount of items in app widget?

+1  A: 

If by "list with dynamic amount of items", you mean a ListView, no.

If by "list with dynamic amount of items", you mean something inside of a ScrollView, no.

That is because neither ListView nor ScrollView are supported in app widgets. Also, app widgets are fixed size.

The only thing I have seen similar to what you describe probably uses a set of nested LinearLayout containers to set up a table, only some of whose cells are filled in (the rest are blank).

CommonsWare