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.
精彩评论