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.

4798 questions
33
votes
4 answers

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, the welcome screen with "Make yourself home". I…
rds
  • 26,253
  • 19
  • 107
  • 134
31
votes
3 answers

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 margin-top, is there an alternative to that?
Praveen Kumar
  • 1,597
  • 3
  • 13
  • 14
31
votes
2 answers

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

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. Displaying an single coord (even with a marker)…
poeschlorn
  • 12,230
  • 17
  • 54
  • 65
29
votes
5 answers

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 them. Is there a way to configure a dialog's…
mtmurdock
  • 12,756
  • 21
  • 65
  • 108
29
votes
4 answers

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] addObserver:self selector:@selector(addOverLayView:)…
user4202109
28
votes
4 answers

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 to overlay on FirstActivity? ie. FirstActivity gets…
newbie
  • 958
  • 4
  • 13
  • 25
28
votes
5 answers

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 made with a transparent layer in photoshop. I…
SolidSnake4444
  • 3,372
  • 6
  • 40
  • 63
28
votes
2 answers

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 really does not represent the center of the…
Nic Hubbard
  • 41,587
  • 63
  • 251
  • 412
27
votes
5 answers

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 dialog box does where it puts a semi-transparent image…
Mike Webb
  • 8,855
  • 18
  • 78
  • 111
27
votes
2 answers

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 read, pyplot.imshow() is the best way to…
Levi Cowan
  • 789
  • 2
  • 9
  • 13
26
votes
1 answer

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' DIV and forbid the user to operate any control in…
Zach
  • 5,715
  • 12
  • 47
  • 62
25
votes
5 answers

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 this base class. On the second activity, I plan to…
daniel_c05
  • 11,438
  • 17
  • 60
  • 78
25
votes
2 answers

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 standardized way to do that. Example Is it possible…
Alp
  • 29,274
  • 27
  • 120
  • 198
24
votes
9 answers

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 (seen via the tabbar) with the following designs:…
Robert Tomas G IV
  • 2,315
  • 4
  • 18
  • 41
23
votes
5 answers

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 color is changing (for example, from green to…
Dachmt
  • 2,079
  • 4
  • 29
  • 45