Is there a way to dynamically change the s开发者_运维知识库ize of a widget?
Can an app have multiple widgets?
Thanks!
1. No, sorry.
2. Yes, definitely, you just have to define as many app widget providers
as you need.
Resizing widgets on the home-screen dynamically was added in Android 3.1. It is possible now.
App can have multiple widgets. what do you mean by changing the size? Are referring to number of cells it can occupy in landscape and portrait? Here is a guideline on designing.
精彩评论