hide the bottom buttons for a second on photo taken

This commit is contained in:
tibbi
2016-09-20 20:41:25 +02:00
parent 276c47d4f0
commit 18c060eb71
2 changed files with 14 additions and 2 deletions

View File

@ -31,9 +31,9 @@ import java.util.List;
public class Preview extends ViewGroup
implements SurfaceHolder.Callback, View.OnTouchListener, View.OnClickListener, MediaScannerConnection.OnScanCompletedListener {
public static final int PHOTO_PREVIEW_LENGTH = 1000;
private static final String TAG = Preview.class.getSimpleName();
private static final int FOCUS_AREA_SIZE = 100;
private static final int PHOTO_PREVIEW_LENGTH = 1000;
private static final float RATIO_TOLERANCE = 0.1f;
private static SurfaceHolder mSurfaceHolder;