Open GoogleCodeExporter opened 8 years ago
I added the constructor, but i'm not sure what it is good for, can you explain
it a little bit more in detail? the AttributeSet parameter is always needed if
you define a view in xml?
Original comment by simon.heinen
on 27 May 2011 at 8:12
Original comment by Alexande...@gmail.com
on 31 May 2011 at 6:33
I know that if you whant to add this view using the xml files, android will
call this method
Original comment by joanpuig...@gmail.com
on 4 Jun 2011 at 9:57
For the CameraView too:
public CameraView(Context context, AttributeSet attrs) {
super(context, attrs);
intiCameraView(context);
}
private void intiCameraView(Context context) {
mHolder = getHolder();
Log.d("Activity", "Camera holder created");
mHolder.addCallback(this);
mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
}
Original comment by joanpuig...@gmail.com
on 13 Jun 2011 at 5:05
Original issue reported on code.google.com by
joanpuig...@gmail.com
on 15 May 2011 at 12:20