super.onCreate(savedInstanceState); final BitmapMeshView view = new BitmapMeshView(this); view.setLayerType(View.LAYER_TYPE_HARDWARE, null); setContentView(view);