Questions tagged [android-overlay]

Base class representing an overlay which may be displayed on top of a map.

58 questions
2
votes
3 answers

Is overlay screen option is by default enable if application is downloaded from play store

From Android 6 we have to handle overlay screen in application, I read somewhere that if application is downloaded from play store then by default overlay screen option is enable. I just want to make confirm is it true? Or for this we have to do…
PPD
  • 5,660
  • 12
  • 52
  • 86
2
votes
1 answer

perform back button press from an overlay window - android

I have an overlay view (LinearLayout) added to WindowManager with following params set: private void setWindowParams(WindowManager.LayoutParams params) { params.height = WindowManager.LayoutParams.WRAP_CONTENT; params.width =…
rehman_00001
  • 1,299
  • 1
  • 15
  • 28
2
votes
1 answer

How to make only a part of a View (which is added at runtime) overlay/overlap the neighbouring views?

LHS of the following disagram shows the initial structure of the Activity set up in XML, and the RHS shows the Activity after some runtime changes. The black border encloses the RelativeLayout (I can change it to LinearLayout or something else if…
2
votes
1 answer

How to create gradient overlay over Android Video Player and fade away

I am interested in creating the following effect: a gradient (dark grey) overlay with icons over the Android Video Player on the phone. How could I achieve this? Also, how can I make this overlay/gradient fade away after a certain amount of idle…
code
  • 5,294
  • 16
  • 62
  • 113
2
votes
0 answers

Android MapView Overlay refresh timing

I need an overlay that refreshes with 2Hz - for animated Overlays. There is this second draw() method which triggers a redraw when you return true. public boolean draw(android.graphics.Canvas canvas, MapView mapView, …
ligi
  • 39,001
  • 44
  • 144
  • 244
1
vote
1 answer

How to hide previously displaying overlay view when new overlay view comes for display using Window Manager in android?

I am displaying one overlay view using Window Manager on incoming or outgoing call. When I receive one call my overlay window appears on screen but when I receive another call overlay window appears again on the previous displayng window and so…
1
vote
1 answer

How to display Transparent camera overlay over other apps?

I am creating an android application and I have to implement a feature where my app has "Display on other apps" permission, and from Accessibility Service it need to display a transparent camera overlay over other apps. What is required? Display a…
1
vote
0 answers

creating service screen that will overlay all other app, but the issue is soft keyboard is not showing

Here's my code val params = WindowManager.LayoutParams( WindowManager.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.TYPE_SYSTEM_ALERT, …
1
vote
1 answer

Default permission for draw over other app - true

In my app I need to make default permission for draw over other app as true, like in most of the Android app. How to do this in my app.
1
vote
0 answers

How to make a pop-up window like Google Translate?

As you see below, Google Translate can show a pop-up window when PROCESS_TEXT is received. (I am not asking for how to process this message.) I want to do a similar thing but there are some problems. I created a pop-up window using…
Damn Vegetables
  • 11,484
  • 13
  • 80
  • 135
1
vote
0 answers

Animation of a Custom Dialog Fragment in Android

To achieve a animated pop up, I have used a custom DialogFragment extending the DialogFragment class. Then, I designed the overlay layout in xml and added that during loading of the pop up. As, I needed to do the animation, I designed 2 animation…
1
vote
3 answers

How to change to parameter in custom view at run time?

I am working on a draw board app. I have completed the draw function by a custom view like this: public class DrawView extends View implements OnTouchListener { private Paint bmPaint = new Paint(); private Paint drawPaint = new Paint(); …
user3538235
  • 1,991
  • 6
  • 27
  • 55
1
vote
0 answers

android - Replay of OverlayItem on Mapview in realtime

I'm using OSmdroid to display numerous ItemizedOverlay in realtime (from network). How can I replay back and forth the laid overlay item? For example may be with a scroll bar or similar component, I should be able to replay the whole display items…
zIronManBox
  • 4,967
  • 6
  • 19
  • 35
1
vote
1 answer

android - itemizedoverlay update marker on mapview

I've some ItemizedOverlay adding onto MapView. I'm able to show case the static marker which is been initialized initially. Now say after 5 markers, I need to update the marker of the first or second one precisely, how can I do it? I want to refresh…
zIronManBox
  • 4,967
  • 6
  • 19
  • 35
1
vote
1 answer

How to overlay layout in side list view item android?

I have a ListView backed up by a BaseAdapter. The layout that I'm using is a RelativeLayout with some TextViews and ImageViews that are rendering ok. The problem is that I want to overlay anther layout with top of select list view item with match…
venu
  • 2,971
  • 6
  • 40
  • 59