Android 3.0, Widget Preview

风流意气都作罢 提交于 2019-12-08 18:38:16

问题


In Honeycomb some of the System apps have a "preview" of the widget when you click the "add" options on the home screen.

How do I go about adding a thumbnail/preview of my widget to my application so the user can get a feel for what it looks like when adding it in Honeycomb?


回答1:


If you run the android emulator against the Honeycomb sdk, you should see an app called Widget Preview, which will allow you to pick the widget to take a preview of (you will have to install your widget on the emulated device). I think you can also build it yourself if you have the source checked out (it's under development/apps/WidgetPreview).

http://developer.android.com/guide/topics/appwidgets/index.html#preview



来源:https://stackoverflow.com/questions/5876628/android-3-0-widget-preview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!