开发者

Is there a way to dynamically change the size of a widget?

开发者 https://www.devze.com 2023-01-17 16:50 出处:网络
Is there a way to dynamically change the s开发者_运维知识库ize of a widget? Can an app have multiple widgets?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消