Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8996407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:45:03+00:00 2026-06-15T23:45:03+00:00

Context I have an overlay window ( TYPE_SYSTEM_ALERT ) which is full screen. The

  • 0

Context

I have an overlay window (TYPE_SYSTEM_ALERT) which is full screen.

The flag FLAG_NOT_TOUCHABLE is enabled so that underlying window gets the touch events.

The flag FLAG_WATCH_OUTSIDE_TOUCH is also enabled so that my overlay gets an ACTION_OUTSIDE event when a touch event happens.

Goal

If a touch event happens in a specific area of the screen, I would like my overlay to become ‘touchable’ and receive all following touch events (move, up,…).

What I tried

I tried to remove the FLAG_NOT_TOUCHABLE when receiving the ACTION_OUTSIDE but I don’t receive the touch events until the current series of touch is over (i.e ACTION_UP event).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T23:45:03+00:00Added an answer on June 15, 2026 at 11:45 pm

    Well I finally ended up using 2 overlay windows:

    • a TYPE_SYSTEM_ALERT with wrap_content to catch touch events on the content
    • a TYPE_SYSTEM_OVERLAY with match_parent

    And I transfer my content view from one window to another when touch starts/ends.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

in which I have a link when user clicks on that a popup window
Context: I have a class that implements a Session, maintaining a TCP connection to
I have a context loader class which loads an XML file with info on
I have a LINQ TO SQL Context that I have created that calls a
I have a SharePoint page that has a hyperlink which points to a video
I have a jQModal window on my site that has its content populated by
What I have at the moment is a preview window that, when clicked on,
I have made script that center div on center of browser window, and my
I have an NSScrollView that fills an entire window and displays a huge image.
I have a form which pops up in an overlay for a simple call

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.