开发者

how to programmatically create/populate the view of a appwidget in android

Say I have a framelayout as the view of a appwidget. The framelayout have several children to form a layered structure. Depending on the application logic, the children in the framelayout can be removed or开发者_如何学Go added. Is it possible to do so programmatically since a view of appwidget is a RemoteView ?


This will help you - http://developer.android.com/reference/android/widget/RemoteViews.html search for the addView method.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜