Search Unity

Etcetera Native Alert Window - Disable cancel on outside touch

Discussion in 'Android' started by Nikovich, Apr 8, 2016.

  1. Nikovich

    Nikovich

    Joined:
    Jul 10, 2010
    Posts:
    69
    In the Prime31 etcetera plugin, there is a way to disable touches outside the window (leaving only the option to press the provided buttons) on iOS, but for Android, it seems to be a native ability to cancel or close the alert by clicking outside the window. I've seen a lot of questions about disabling the Back button, but is there a way to disable both that and tapping outside?

    I just threw in a text field to output the callback I get from interaction with the window. As I feared, all buttons on the alert give feedback, clicking outside the window or the back button provide no feedback.
     
    Last edited: Apr 8, 2016