hide the navigation icons at resume

This commit is contained in:
tibbi 2016-06-02 15:53:45 +02:00
parent 0bf05bfc53
commit 7f960fd5c3

View File

@ -37,7 +37,6 @@ public class MainActivity extends AppCompatActivity {
preview = new Preview(this, (SurfaceView) findViewById(R.id.surfaceView));
preview.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
viewHolder.addView(preview);
hideNavigationBarIcons();
}
@OnClick(R.id.toggle_camera)
@ -95,6 +94,7 @@ public class MainActivity extends AppCompatActivity {
toggleCameraBtn.setVisibility(View.INVISIBLE);
}
preview.setCamera(currCamera);
hideNavigationBarIcons();
}
@Override