开发者

How to set widget layouts in Android?

开发者 https://www.devze.com 2023-03-22 08:59 出处:网络
I know how to set the widget when it is a fixed size, such as 2x2; but how do I set it to resize or set orientation automatically? Do I just开发者_如何学Python dump all the frame backgrounds in all th

I know how to set the widget when it is a fixed size, such as 2x2; but how do I set it to resize or set orientation automatically? Do I just开发者_如何学Python dump all the frame backgrounds in all the drawable folders and hope for the best?


Look at use of 9-patch images for backgrounds, explained here.

0

精彩评论

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

关注公众号