I created an apidemos project and I looked at TriangleActivity.java:
public class TriangleActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mGLView = new GLSurfaceView(this);
mGLView.setRenderer(new StaticTriangleRenderer(this));
/*ImageView imageView = new ImageView(this);
imageView.setImageResource(R.raw.robot);
setContentView(imageView);*/
setContentView(mGLView);
}
I was surprised to see that weird ImageView stuff. Is that in everyone's
apidemos sample? It looks like some weirdness I might have added, but I
doubt I modified the template since I don't know how.
--
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