I followed this link to create camera overlay with an image. But my problem is I can't remove the title bar using the following codes in onCreate() method:
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
It causes probably for the below's code in onCreate method:
getWindow().setFormat(PixelFormat.UNKNOWN);
Now, what can I do and why this is happening? Can anybody explain??
Use this under the activity tag in manifest file.