mirror of
				https://github.com/SimpleMobileTools/Simple-Camera.git
				synced 2025-06-27 09:02:59 +02:00 
			
		
		
		
	hide the navigation icons at resume
This commit is contained in:
		| @@ -37,7 +37,6 @@ public class MainActivity extends AppCompatActivity { | |||||||
|         preview = new Preview(this, (SurfaceView) findViewById(R.id.surfaceView)); |         preview = new Preview(this, (SurfaceView) findViewById(R.id.surfaceView)); | ||||||
|         preview.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); |         preview.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); | ||||||
|         viewHolder.addView(preview); |         viewHolder.addView(preview); | ||||||
|         hideNavigationBarIcons(); |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     @OnClick(R.id.toggle_camera) |     @OnClick(R.id.toggle_camera) | ||||||
| @@ -95,6 +94,7 @@ public class MainActivity extends AppCompatActivity { | |||||||
|             toggleCameraBtn.setVisibility(View.INVISIBLE); |             toggleCameraBtn.setVisibility(View.INVISIBLE); | ||||||
|         } |         } | ||||||
|         preview.setCamera(currCamera); |         preview.setCamera(currCamera); | ||||||
|  |         hideNavigationBarIcons(); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user