Is it possible to embed a SurfaceView inside xml which gets inflated
for RemoteViews

Am trying to do something like , where my layout xml gl_surface, has a
SurfaceView

abc extends AppWidgetProvider{
onUpdate{
   RemoteViews views = new RemoteViews(context.getPackageName(),
R.layout.gl_surface);
   appWidgetManager.updateAppWidget(appWidgetId, views);
}
}

Seems like SurfaceView has a Filter while LayoutInflater which is
giving me exception
AppWidgetHostView: Caused by: android.view.InflateException: Binary
XML file line #11: Class not allowed to be inflated
android.view.SurfaceView

Is there any means of making SurfaceView work for AppWidgetProvider,
or this is a bad idea to make it work

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to