update every button clickability on the main thread
This commit is contained in:
parent
afa5a46303
commit
104eca5196
|
@ -276,11 +276,11 @@ class MainActivity : SimpleActivity(), PhotoProcessor.MediaSavedListener {
|
|||
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
|
||||
shutter.isClickable = !hide
|
||||
toggle_camera.isClickable = !hide
|
||||
toggle_flash.isClickable = !hide
|
||||
}
|
||||
}
|
||||
|
||||
private fun launchSettings() {
|
||||
|
|
Loading…
Reference in New Issue