Checkbox causes error in Widget
I was trying to use Checkbox in Widget. Bug when it's defined in the layou开发者_Go百科t, the widget shows "Problem loading Widget". There is an exception like "error inflating class". Does it mean there are some limits in using checkbox in widget or did I do something wrong?
Thanks, Howard
If by "Widget" you mean "App Widget", then the problem may be that RemoteViews don't support CheckBoxes.
Take a look at the "Creating the App Widget Layout" section in http://developer.android.com/guide/topics/appwidgets/index.html
精彩评论