开发者

Android API 11 introduced new components including ListView and GridView in app widgets, is there a way to scroll horizontally in app widgets now?

开发者 https://www.devze.com 2023-03-10 23:56 出处:网络
I\'ve read in the Android 3.0 documentation that it is now possible to use \"several new widget classes for more interactive app widgets on the users Home开发者_运维技巧 screen, including: GridView, L

I've read in the Android 3.0 documentation that it is now possible to use "several new widget classes for more interactive app widgets on the users Home开发者_运维技巧 screen, including: GridView, ListView, StackView, ViewFlipper, and AdapterViewFlipper."

Is this list exhaustive or can I use for example Gallery with an app widget in the API 11 ?

If not, is there now a way to have a horizontal scrolling area in app widgets ?

Thanks,

Laurent


No, you can't scroll horizontally in an AppWidget because that would break switching home screens.

0

精彩评论

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

关注公众号