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
10
votes
1 answer
Different background color in Emacs after 80 columns?
In Emacs, how to set a different background color after 80 columns?
So that if the window is wider than 80 columns, all the columns after 80 would have a different background color.

Sampo Smolander
- 1,605
- 2
- 15
- 33
10
votes
2 answers
How can I overlay one image onto another?
I would like to display an image composed of two images.
I want image rectangle.png to show with image sticker.png on top of it with its left-hand corner at pixel 10, 10.
Here is as far as I got, but how do I combine the images?
Image image = new…

Edward Tanguay
- 189,012
- 314
- 712
- 1,047
10
votes
1 answer
Drawing over other applications in Android
There is an interesting application called Twilight which appears to simply draw over all applications with a reddish filter to remove blue light during nighttime hours (presumably to help sleep).
I'm interested in doing something similar, but not…

Naftuli Kay
- 87,710
- 93
- 269
- 411
10
votes
4 answers
Could not get Touch event for TYPE_SYSTEM_OVERLAY
I like to develop an app that is similar to Swapps .i am trying to display a button on top of any screen and that should occur only on a swiping action.I tried with the below code
WindowManager.LayoutParams params = new…

ganesh
- 1,247
- 6
- 24
- 46
10
votes
6 answers
capture click event of submit button jquery
I am trying to get the click event of a submit button on my form...
That is the button that I want to get the event from.
$('#submitDemo').click(
…

SoftwareSavant
- 9,467
- 27
- 121
- 195
10
votes
5 answers
Overlay Help Tips with jQuery
I would like to create an overlay layer that pops up if a user clicks a 'help' link that displays help tips (most likely a .png image) pointing out elements of the website.
I've seen this done on other websites (although I can't currently find one)…

adamdehaven
- 5,890
- 10
- 61
- 84
9
votes
2 answers
How to calculate the area of polygon overlap in R?
Does anyone know how to calculate the area in common between 2 or more polygons in R? I would like to have the output of such a calculation be the coordinates of a new polygon for that area of overlap.
Cheers

Marc in the box
- 11,769
- 4
- 47
- 97
9
votes
2 answers
iOS 5 MapKit Crashes with Overlays when zoom/pan
I have build an app which is intended to display some overlays. The overlays are in form of polygons with up to 10000 points in the outer ring. But the high number of points seems not to be the problem here. In the last few days I kept simplifying…

Snel
- 126
- 1
- 5
9
votes
5 answers
how to customize MKPolyLineView to draw different style lines
I want to customize the lines drawn on MKMapView to show a route so that the lines have a border color and a fill color. Similar to this where it has a black border and is filled with another color:
I'm currently just returning MKPolyLineView…

progrmr
- 75,956
- 16
- 112
- 147
9
votes
1 answer
Weird behaviour in Android browser when selecting fields
The Android Webkit browser (tested on 2.2, 2.3, and 3.0) seems to behave in weird ways when modal elements are put one above the other. In this example here
... I'm displaying a jQuery UI date picker with z-index 200, a gray overlay div spanning…

Lukas Eder
- 211,314
- 129
- 689
- 1,509
9
votes
1 answer
Add Rectangle overlay in a camera application and Crop the portrait image in flutter
In my application, I have to capture National Id(same size as a credit card) and have to pass the image to the backend. I have tried the below code to display a rectangle overlay in a camera application:
return Container(
height:…

Cherry
- 699
- 1
- 7
- 20
9
votes
2 answers
Touch events on MKMapView's overlays
In the app I'm currently designing I have a MKMapView with overlays on it (customized MKPolylines btw) and I would like to be able to detect touch events on these overlays and assign a specific action to each overlay. Could any one help me on this…

Ben
- 193
- 2
- 13
9
votes
3 answers
Python PIL - function to divide blend two images?
EDIT: Code is working now, thanks to Mark and zephyr. zephyr also has two alternate working solutions below.
I want to divide blend two images with PIL. I found ImageChops.multiply(image1, image2) but I couldn't find a similar divide(image, image2)…

moski
- 279
- 1
- 4
- 10
9
votes
1 answer
Android - overlay screen including status bar content
I want to make an overlay screen which overlay entire screen including the status bar and navigation bar.
I spends few hours of Googling/research still no luck.
This is my code:
MainActivity.java (launcher):
package…

林果皞
- 7,539
- 3
- 55
- 70
9
votes
3 answers
Draw hole on UIBlurEffect
Xcode 8.0 - Swift 2.3
I have an internal extension to create blur layer that works great:
internal extension UIView {
/**
Add and display on current view a blur effect.
*/
internal func addBlurEffect(style style:…

Luca Davanzo
- 21,000
- 15
- 120
- 146