do not allow clicking bottom buttons if they are invisible
This commit is contained in:
parent
aa4cf933c6
commit
520a2b160e
|
@ -304,6 +304,10 @@ class MainActivity : SimpleActivity(), PreviewListener, PhotoProcessor.MediaSave
|
|||
shutter.animate().alpha(alpha).start()
|
||||
toggle_camera.animate().alpha(alpha).start()
|
||||
toggle_flash.animate().alpha(alpha).start()
|
||||
|
||||
shutter.isClickable = !hide
|
||||
toggle_camera.isClickable = !hide
|
||||
toggle_flash.isClickable = !hide
|
||||
}
|
||||
|
||||
private fun launchSettings() {
|
||||
|
|
Loading…
Reference in New Issue