2
我正在寻找solution来实现Android主屏幕小部件中的滚动。 我已经使用List控件实现了它,但它只适用于Android版本3.0+,否则(例如2.3.7)它说应用程序窗口小部件不允许使用列表控件。Android小部件滚动
但是我已经看到了一个在2.3.7设备上运行的滚动小部件。任何想法如何做到这一点?
感谢,并在您的清单
<receiver android:name=".WidgetName"
android:label="@string/WidgetLabel">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
</intent-filter>
<meta-data android:name="android.appwidget.provider"
android:resource="@xml/widgetresource"/>
<!--this is the part that you will need to add-->
<meta-data android:name="LauncherMetadata.Requirements.Scrollable"
android:value="true" />
</receiver>
一些发射器将这个问候