diff --git a/app/src/main/java/net/sourceforge/opencamera/ui/MainUI.java b/app/src/main/java/net/sourceforge/opencamera/ui/MainUI.java index c4ce6b6800f8da0928dc20e40d19c05b9727cc12..bd0e1ec0b16949f76b3a004e25b47ab4d05353a2 100644 --- a/app/src/main/java/net/sourceforge/opencamera/ui/MainUI.java +++ b/app/src/main/java/net/sourceforge/opencamera/ui/MainUI.java @@ -1264,6 +1264,12 @@ public class MainUI { content_description = R.string.take_photo; switch_video_content_description = R.string.switch_to_video; } + + /* for qr we just make the drawable empty + so as to not break constraints + the view is still clickable */ + view.setEnabled(!isQrMode); + view.setImageResource(resource); if (content_description==0) { view.setContentDescription("");