Using CameraFragment inside nested fragment
When using the CameraFragment inside a nested set of fragments it clears all other fragments and views
which is inconvenient on some complicated designs .
a workaround is to override everything and comment this block of lines in BaseAnncaFragment :
` @Nullable @Override public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { // View decorView = ((Activity) container.getContext()).getWindow().getDecorView(); // if (Build.VERSION.SDK_INT > MIN_VERSION_ICECREAM) { // int uiOptions = View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN; // decorView.setSystemUiVisibility(uiOptions); // }
return inflater.inflate(com.github.florent37.camerafragment.R.layout.generic_camera_layout, container, false);
}`
if a flag in configuration to be added to choose full screen mode or not .
Great Job , and thank you.