Questions tagged [android-overlay]

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

58 questions
1
vote
1 answer

Android overlay (API 19) - how to cover bottom parts of SW buttons as well?

I'm adding an overlay view over the home screen using: ((WindowManager) getContext().getSystemService(Context.WINDOW_SERVICE)).addView(this, layoutParams); Layout params are defined as follows: layoutParams = new WindowManager.LayoutParams( …
1
vote
1 answer

Overlay button not working in Android 4.3

I have an overlay view with a button on WindowManager.LayoutParams.TYPE_TOAST level layer. The button works well in Android 4.2, but when I run the same code in Android 4.3, the button gets unclickable - nothing happens when I click it. Here's the…
1
vote
1 answer

Android Overlay at bottom of the screen

I want to implement the ads in my app but I want to implement the ads on an overlay view, The main content of the app should be foreground and the overlay is top of the main content and I want to align the overaly at the bottom of the screen.…
Me Malik
  • 409
  • 2
  • 5
  • 13
1
vote
0 answers

Move other pushpins below overlay

I want to move other pushpins below my overlay. Currently other pushpins are showing above overlay which looks not good. I have also set tbe background of my overlay but this didn't work for me.
Naveen Chauhan
  • 2,026
  • 8
  • 33
  • 40
1
vote
3 answers

Loading ItemizedOverlays markers from the web

I was wondering what is the proper way of loading ItemizedOverlay markers from the web, use caching in some sort of a way. Right now i'm downloading all the images and converting them to drawables, it works just fine but I want to see if there is a…
meh
  • 22,090
  • 8
  • 48
  • 58
0
votes
0 answers

Show tooltip with skip and finish button

I want to show tooltip window with two buttons skip and next on Appbar layout-tabs and BottomNavigation-menuitems. tooltip window should be displayed on semitransparent overlay. Background of the semitransparent overlay is Appbar layout-tabs and…
0
votes
1 answer

TYPE APPLICATION OVERLAY in android 11 permission denied

I tried to create a overlay app for android 11 and I see that I can't use the in android 11 only if this is a system app so I make it for a system app and I still…
0
votes
1 answer

Runtime Resource Overlay can't be enabled

I was following some tutorials on how to create custom Runtime Resource Overlay (RRO) APKs, but I am not able to enable mine. adb shell cmd overlay list ... com.example.mytarget --- com.example.myoverlay Google said that --- mean that it is…
0
votes
0 answers

How to overlay view in constraint layout?

I have image view in Constraint Layout and want CardView to overlay it. xml:
0
votes
1 answer

How hide Incoming Call dialog over activity in Android O?

Up to Android 7 my Incoming call locker app working well, and i hide incoming call dialog but in Android 8 incoming call dialog always shown in above Activity. int LAYOUT_FLAG; if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { …
Attaullah
  • 3,856
  • 3
  • 48
  • 63
0
votes
1 answer

How to ignore touch event and let android system handle it?

I have a service that draws an overlay view over the system. It is an utility bar. When user clicks it, it shows up. My problem is that I don't want it showing up when user click, but when user swipe it. I have a logic that can distinguish a click…
NameTopSecret
  • 310
  • 5
  • 15
0
votes
1 answer

How to control WindowManager overlay priority in Oreo?

I have an overlay for my app, OV1, which is basically a button the user can move around on their screen. When this overlay is pressed, it spawns a second overlay, OV2, which contains multiple sub-buttons positioned around OV1's current location. OV2…
0
votes
1 answer

how to not to give overlay for specific view

I have have an activity who have black transparent overlay. What I need to do is remove overlay for specific button in an activity.But all other part extract button will consist of an overlay.
Anamika Chavan
  • 149
  • 1
  • 3
  • 14
0
votes
1 answer

Android is it possible to create a service overlay and intercept all touch event data?

Hello I am trying to create a transparent overlay that intercepts ( and does not block the other applications) all the touch events I do on my smartphone, particularly I'm interested in the scroll event, this is the code from my service class: …
Matthew
  • 105
  • 1
  • 11
0
votes
2 answers

Overlay ImageView on Toolbar

I have this code for my custom toolbar: