Questions tagged [overlay]

Overlays are user interface elements that are displayed over other UI elements, typically for the purpose of presenting additional or enhanced information and detail.

Filter by
Sorted by
Tagged with
1189votes
9answers
2.3mviews

How to overlay one div over another div

I need assistance with overlaying one individual div over another individual div. My code looks like this: <div class="navi"></div> <div id="infoi"> <img src="info_icon2.png"...
user avatar
  • 32.5k
607votes
19answers
1.3mviews

Change color of PNG image via CSS?

Given a transparent PNG displaying a simple shape in white, is it possible to somehow change the color of this through CSS? Some kind of overlay or what not?
user avatar
546votes
22answers
943kviews

Prevent body scrolling but allow overlay scrolling

I've been searching for a "lightbox" type solution that allows this but haven't found one yet (please, suggest if you know of any). The behavior I'm trying to recreate is just like what you'd see at ...
user avatar
  • 5,968
303votes
17answers
266kviews

Creating a system overlay window (always on top)

I'm trying to create an always-op-top button/clickable-image which stays on top of all the windows all the time. The proof of concept is here - Smart Taskbar (on AppBrain) and here V1.4.0 Sidebar ...
user avatar
  • 3,509
184votes
6answers
264kviews

How to make overlay control above all other controls?

I need to make a control appear above all other controls, so it will partially overlay them.
user avatar
  • 13.3k
124votes
13answers
162kviews

Drawing a line/path on Google Maps

I've been busy for a long time finding out how to draw a line between two (GPS) points on the map in HelloMapView but with no luck. Could anyone please tell me how to do so. Suppose I use the ...
user avatar
  • 3,795
110votes
5answers
134kviews

overlay opaque div over youtube iframe

How can I overlay a div with semi-transparent opacity over a youtube iframe embedded video? <iframe class="youtube-player" type="text/html" width="520" height="330" src="http://www.youtube.com/...
user avatar
99votes
1answer
2kviews

GMSGroundOverlay animating - should I be using a CATiledLayer?

I am experimenting with the Google Maps for iOS SDK latest version 1.2.1.2944 to animate a GMSGroundOverlay. The user has control over the image sequence, so using an animated UIImage isn't a ...
user avatar
  • 1,023
86votes
13answers
101kviews

Loading an "overlay" when running long tasks in iOS

What is example for loading overlay in Swift IOS application when do a long tasks. Example for loading data from remote server. I googled but not found any answer. Updated: Thanks for @Sebastian ...
user avatar
  • 2,962
82votes
4answers
80kviews

Unable to add window android.view.ViewRoot$W@44da9bc0 -- permission denied for this window type

I have prefer this post for example but I got the error at adding viewgroup into the windowmanager object, I have used the same class for the Service as posted into the question with no change where I ...
user avatar
  • 30.5k
80votes
2answers
38kviews

Client-side "Feature Tour" (tutorial/instructional) overlay system? [closed]

Is there a system/framework in existence which focuses on providing tutorial / help like overlays in the browser? Example: You have a webapp which requires a certain level of instruction to the user. ...
user avatar
  • 7,677
79votes
8answers
110kviews

Merging two images with PHP

I'm trying to merge two images together with PHP. For example... how would I go about placing image one on top of image two or merge, with basic PHP? I have tried something such as watermarking, but ...
user avatar
  • 4,757
76votes
11answers
175kviews

Pure css close button

JSFiddle Is there any way to make something like the X on that link with pure css?
user avatar
  • 32.2k
71votes
6answers
172kviews

Youtube autoplay not working on mobile devices with embedded HTML5 player

To my problem, i have one link <a href="http://www.youtube.com/embed/YT-ID" class="overlay_video"></a>. I want to play the video by clicking the link in a fancybox overlay window. This is ...
user avatar
  • 780
67votes
12answers
443kviews

How to overlay image with color in CSS?

Objective I want a color overlay on this header element. How can I do this with CSS? Code #header { /* Original url */ /*background: url(../img/bg.jpg) 0 0 no-repeat fixed;*/ background: url(...
user avatar
62votes
7answers
118kviews

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 ...
user avatar
  • 108k
58votes
7answers
104kviews

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 ...
user avatar
  • 9,186
58votes
4answers
49kviews

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 ...
user avatar
58votes
2answers
25kviews

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 ...
user avatar
  • 95.8k
57votes
3answers
60kviews

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 ...
user avatar
  • 23.7k
57votes
2answers
1kviews

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 ...
user avatar
  • 1,162
54votes
6answers
78kviews

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 ...
user avatar
  • 18.9k
51votes
8answers
51kviews

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 ...
user avatar
50votes
4answers
107kviews

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 ...
user avatar
  • 68.8k
46votes
4answers
37kviews

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 ...
user avatar
  • 42.8k
39votes
2answers
44kviews

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-...
user avatar
  • 10.1k
34votes
4answers
33kviews

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 ...
user avatar
  • 20k
32votes
4answers
19kviews

Overlay image to make tutorial in Android app

In many applications, I have seen that there is a welcome screen or tutorial that explains how the application works by overlaying explanations on top of the activity. For instance, in Android itself, ...
user avatar
  • 25.1k
31votes
2answers
63kviews

How to display a route between two geocoords in google maps? [duplicate]

Possible Duplicate: J2ME/Android/BlackBerry - driving directions, route between two locations I'm just writing an App for displaying the route between two coords (lat, long) in google maps view. ...
user avatar
29votes
4answers
46kviews

Flutter - Overlay card widget on a container

In flutter, is it possible to place a part of a card on another container? In CSS, we would set margin-top to a negative value or use translate property. In flutter as we cannot set negative values to ...
user avatar
29votes
5answers
91kviews

jQuery: Set modal dialog overlay color

I would like to pop a modal dialog using jquery ui where the overlay is completely black. I know that I can set this in the theme, but I do not want all dialogs to have a black overlay. Just one of ...
user avatar
  • 12.3k
29votes
4answers
26kviews

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 ...
user avatar
  • 1,457
29votes
4answers
2kviews

How to add OverLay View in UIWebView Video Player?

I want to add some custom controls over UIWebView's Video Player. I am able to add any control over it by below code : First I am adding below notification, [[NSNotificationCenter defaultCenter] ...
user avatar
28votes
2answers
30kviews

Google Maps API: Calculate Center/Zoom of Polyline

I have an overlay that is dynamically generated from user data, so I need to know how to find the center of that overlay. Currently, I am just using the first coordinates from the overlay, but that ...
user avatar
  • 40.4k
28votes
4answers
63kviews

Overlay an activity on another activity OR overlay a view over another

I have 2 classes, FirstActivity and SecondActivity. First Activity Intent intent=new Intent(getApplicationContext(),SecondActivity.class); startActivity(intent); Is it possible for SecondActivity ...
user avatar
  • 948
27votes
6answers
29kviews

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; ...
user avatar
27votes
5answers
32kviews

iPhone, how does one overlay one image onto another to create a new image to save? (watermark)

Basically I want to take an image that the user chooses from their photo library and then apply a watermark, a triangle in the lower right that has the app name on it. I have the second image already ...
user avatar
27votes
5answers
74kviews

With jQuery, how can I gray out and disable a webpage and then show some kind of spinner on top of that?

I am still pretty "green" when it comes to web development and javascript/jQuery programming, so any help is appreciated. Here is what I want to do. I want to do the same thing that a jQuery UI ...
user avatar
  • 8,505
27votes
2answers
18kviews

Python Matplotlib Basemap overlay small image on map plot

I am plotting data from an aircraft on a map and I would like to insert this 75px by 29px PNG image of an airplane at the coordinates of the latest data point on the plot. As far as I know and have ...
user avatar
25votes
1answer
38kviews

How to add an overlay DIV to cover an existing DIV (using JQuery)?

I have a 'container' DIV which may have all possible CSS styles like: margin, padding, border and different position (fixed, relative, absolute). I want to show a loading icon above the 'container' ...
user avatar
  • 5,439
25votes
5answers
25kviews

Android Navigation Drawer and windowActionBarOverlay = true

I'm trying to implement the new Android Navigation Drawer in my application. I have created a BaseActivity.java that handles the Drawer setup and listeners, and I have two subactivities that extend ...
user avatar
  • 11.2k
25votes
2answers
2kviews

How can I style a part of a single character with overlays using a dynamic width?

Question Can I style just a part of a single character? Meaning CSS attributes cannot be assigned to parts of characters. But if you want to style only a certain section of a character, there is no ...
user avatar
  • 28.2k
23votes
1answer
5kviews

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 = "...
user avatar
22votes
3answers
31kviews

Google Maps tool for accurately positioning image overlay? [closed]

I am hoping someone can point me in the right direction. I have a Google Map that loads markers from an XML file, along with various other map elements, works great. However I now need to overlay a ...
user avatar
  • 221
22votes
3answers
87kviews

How to do picture overlay in HTML (something like marker on top of google map)?

Anyone know how to do picture overlay or appear on top of each other in HTML? The effect will be something like the marker/icon appear on Google Map where the user can specify the coordinate of the ...
user avatar
22votes
4answers
13kviews

Gradient Polyline with MapKit ios

I'm trying to trace a route on a MKMapView using overlays (MKOverlay). However, depending on the current speed, I want to do something like the Nike app with a gradient while tracing the route, if the ...
user avatar
  • 1,949
22votes
2answers
7kviews

MKOverlay not resizing smoothly

I have added a MKCircle as MKOverlay to my MKMapView. Also I added an UISlider to decide the radius of the circle. Unfortunately when using this it seems a bit "laggy", not smootly like I want it to ...
user avatar
  • 9,792
21votes
7answers
17kviews

How can you add floating tooltips in react native?

I am developing an application that takes the user through a short tour prior to going to the main page of the application (after initial sign up). What I would like to do is overlay the app pages (...
user avatar
20votes
2answers
12kviews

How to get icon overlays with git-extensions

I have been using svn for quite some time now. But now I have shifted to git. As per my findings Tortoise Git does not provide you with a good understanding of how git works, that's why I picked git-...
user avatar
  • 9,750
19votes
4answers
45kviews

jquery overlay loading bar div

So I have a table of data, and I'm getting data back using ajax. When data is being retrieved, the data from the table disappears and a small little loading circle appears. I'd prefer for the data to ...
user avatar
  • 14.8k

15 30 50 per page
1
2 3 4 5
94