I would use:
- A relative layout that contains:
- The real content of your activity
- An overlay view, with white background, matching parent widht and height.
- And animation that changes the alpha of the overlay to transparent or to solid, as you need.
- If you have problems receiving touch and dont get to get crazy animation listener to remove the view as soon as its alfa is cero.