Android Question Ignore clicks on activity when keyboard is visible?

Discussion in 'Android Questions' started by Arf, Mar 21, 2015.

  1. Arf

    Arf Active Member Licensed User

    I have a few EditText boxes, and once I click on one to enter info with the keyboard, I don't want to be able to click on any screen elements until I've clicked 'Done' on the keyboard to enter the text.

    Is there any built-in method of making the keyboard behave like that or should I create an invisible panel to overlay the activity when any boxes are clicked or something like that?

    Last edited: Mar 21, 2015
  2. Arf

    Arf Active Member Licensed User

    Mmm, I created an invisible panel and overlay the whole activity when any EditTexts get focus, and remove the panel when DONE is pressed, but I can still click on the other editTexts and select them through my invisible panel. How can this be?
  3. NJDude

    NJDude Expert Licensed User

    Have you added the TOUCH event for that panel?, without it, you can tap/click though it.
    Erel and Arf like this.
  4. Arf

    Arf Active Member Licensed User

    No I didn't - cheers.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice