mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-01-20 18:48:59 +01:00
hide the navigation icons at resume
This commit is contained in:
parent
0bf05bfc53
commit
7f960fd5c3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user