Overlays are user interface elements that are displayed over other UI elements, typically for the purpose of presenting additional or enhanced information and detail.
Questions tagged [overlay]
4798 questions
64
votes
6 answers
Android: How to overlay a bitmap and draw over a bitmap?
I have three questions actually:
Is it better to draw an image on a bitmap or create a bitmap as resource and then draw it over a bitmap? Performance wise, which one is better?
If I want to draw something transparent over a bitmap, how would I go…

Legend
- 113,822
- 119
- 272
- 400
62
votes
7 answers
Display a loading overlay on Android screen
I'm looking to display an overlay over the screen that shows a little loading ticker or possibly even some text whilst my app attempts to log into the server. My login screen is all inside of a vertical linear layout.
The effect I'm trying to…

James Monger
- 10,181
- 7
- 62
- 98
61
votes
3 answers
CSS: How to get this overlay to extend 100% with scrolling?
Here is an example of the issue in question:
http://dev.madebysabotage.com/playground/overlay.html
You see there is a gray overlay over the entire page, but if you scroll down, the content below the initial loaded page doesn't have the overlay.
I…

Shpigford
- 24,748
- 58
- 163
- 252
58
votes
5 answers
How do you directly overlay a scatter plot on top of a jpg image in matplotlib / Python?
I need to rapidly plot jpg frames that result as the output of a tracking algorithm. Companion with the jpg frames are text files containing simple (x,y) data locating the image targets that are being tracked. I would like to use matplotlib to plot…

ely
- 74,674
- 34
- 147
- 228
58
votes
2 answers
Using ItemizedOverlay and OverlayItem In Android Beta 0.9
Has anyone managed to use ItemizedOverlays in Android Beta 0.9? I can't get it to work, but I'm not sure if I've done something wrong or if this functionality isn't yet available.
I've been trying to use the ItemizedOverlay and OverlayItem classes.…

Reto Meier
- 96,655
- 18
- 100
- 72
58
votes
4 answers
How to draw free hand polygon in Google map V2 in Android?
I want to draw a Free Hand Polygon on the Map in Google Map V2.
This task was possible with Overlay Map V1 but Google Map has removed that class from V2. (Per this Google Map V2 has Remove Overlay Class).
Good Example for Google Map V1 to draw free…

Chintan Khetiya
- 15,962
- 9
- 47
- 85
56
votes
2 answers
Swift MKMapView Polygon Overlay glitching
In rare occasions, the overlay on my map (small blue dot) gets a weird glare (big blue area on right) (as seen in picture). Sometimes zooming in or out will fix it, but not always. Can't find anything on why this would happen. Is it something to do…

Steve
- 1,121
- 1
- 12
- 32
55
votes
6 answers
How to overlay a div (or any element) over a table row (tr)?
I'd like to overlay a div (or any element that'll work) over a table row (tr tag) that happens to have more than one column.
I have tried a few methods, which don't seem to work. I've posted my current code below.
I do get an overlay, but not…

slolife
- 19,520
- 20
- 78
- 121
51
votes
8 answers
How to replicate PS multiply layer mode
Does anybody know of a good way to replicate Photoshop's multiply layer mode using either an image or CSS?
I'm working on a project that has thumbnails that get a color overlay when you hover over them, but the designer used a layer set to multiply…

Andrew Philpott
- 939
- 1
- 10
- 11
47
votes
5 answers
Overlaying on a 3D fullscreen application
I want to display some custom graphics on top of a 3rd party fullscreen Windows application.
Have you played any Steam games? It has an executable, GameOverlayUI.exe that lets you access Steam windows from within a game. (The GUI elements look…

aib
- 45,516
- 10
- 73
- 79
39
votes
2 answers
How to create a completely custom Dialogue/Popup in Android (change overlay colour and dialogue window layout)
I would like to completely re-skin the default dialogue component in Android. Specifically I would like to do this:
Change the semi-transparent overlay background from the default black to a semi-transparent white.
Change the Dialogue window…

justinl
- 10,448
- 21
- 70
- 88
36
votes
1 answer
Difference between a ZStack or using .overlay()
What is the difference between using a ZStack versus using the .overlay() modifier.
Apple says:
ZStack = "A view that overlays its children, aligning them in both axes."
.overlay = "Layers a secondary view in front of this view."
Some…

Michael Ozeryansky
- 7,204
- 4
- 49
- 61
35
votes
6 answers
Hole in overlay with CSS
How is it possible to create a hole in an overlay where you can see through to the actual website?
#underground {
background-color: #725;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
#overlay {
position: absolute;
…

user3019653
- 465
- 1
- 4
- 7
34
votes
4 answers
Make custom overlay clickable (Google Maps API v3)
I have a custom overlay class (ImageOverlay) which inherits from google.maps.OverlayView. I want it to respond to Google Maps click events (not just DOM click events) but simply using addListener doesn't seem to do the trick.
e.g. I have a shapes…

Tamlyn
- 22,122
- 12
- 111
- 127
33
votes
4 answers
Android overlay to grab ALL touch, and pass them on?
I'm basically trying to get all touch event data from something like a system overlay, move my sprites around based on this touch data, then allow the OS/homescreen/browser to act upon the data as it should(or vice versa). I have found similar…

While-E
- 1,527
- 2
- 20
- 37