overlay

Detecting touch events in overlay and passing them further

╄→гoц情女王★ 提交于 2020-01-06 04:54:10
问题 I want to make an overlay gesture detector that will be displayed above all other apps. The overlay will be started from a Service . I've made sample service just to check if touch event from touching overlaid icon can be somehow recorded and dispatched further to currently active app: class GestureDetectorService : Service() { override fun onBind(intent: Intent?): IBinder? = null val windowManager: WindowManager get() = getSystemService(Context.WINDOW_SERVICE) as WindowManager var iv:

Can you do icon overlays using Java on Windows OS

好久不见. 提交于 2020-01-05 17:36:31
问题 I would like to manupilate badges or icon overlays using Java on windows. Basically some files on the drive to have overlays depending what state those files are in. This should be visible through windows explorer. Something simillar to how DropBox does things. Is that possible? I've seen several articles on this topic but none of them use Java. They all seem to use C++ or C# or COM objects. I was looking for a Java solution for windows. Of course I'd like to have a Java solution on Mac's too

FFMPEG Overlay video on top of another video

白昼怎懂夜的黑 提交于 2020-01-04 14:40:44
问题 I have looked through all the questions on this on stackoverflow but none of the answers worked for me. I have a screen recorded video in mp4 and another video recorded from a webcam in mp4. I want to overlay the webcam video over the top left of the screen recorded video. I think I finally found the right command line for doing this but when I step through the ffmpeg process it freezes when it reaches " handler_name :SoundHandler". Here is my command line: string overlayPosition = "movie=" +

Flutter SliverAppBar with Tabs overlays content

我是研究僧i 提交于 2020-01-04 09:19:42
问题 I have followed this tutorial (https://medium.com/@diegoveloper/flutter-collapsing-toolbar-sliver-app-bar-14b858e87abe) to create a CollapsingToolbar with a TabBar. The problem is that when I scroll the content of the body overlays the tabBar. Here is the code: @override Widget build(BuildContext context) { return Scaffold( body: DefaultTabController( length: 2, child: NestedScrollView( headerSliverBuilder: (BuildContext context, bool innerBoxIsScrolled) { return <Widget>[ SliverAppBar(

How do I create a popup overlay view in an activity without Fragment?

北城余情 提交于 2020-01-04 09:06:09
问题 I'd like to show when pressed a button a popup onto my Activity. I was inspired by this question So I use the "merge" control in the content xml of the activity and put in it the 2 different Layouts, the problem occurs obviously at this line (code taken from the question linked above): FragmentManager fragmentManager = getFragmentManager(); fragmentManager.beginTransaction() .add(R.id.overlay_fragment_container, yourFragment) .commit(); because ofc FragmentManager works for Fragments. My

Embedding Google Maps as CSS Overlay doesn't load properly

霸气de小男生 提交于 2020-01-04 07:48:06
问题 I try to display a Google Map in an CSS Overlay. The problem is: The Google Map doesn't load properly. The marker is set, but the map with streets and so on is missing. I created a JSFiddle to show my problem. There has to be an Issue with loading. Has anybody an idea why this happens? My CSS Code: .button { width: 150px; padding: 10px; background-color: #FF8C00; box-shadow: -8px 8px 10px 3px rgba(0, 0, 0, 0.2); font-weight: bold; text-decoration: none; } #cover { position: fixed; top: 0;

Embedding Google Maps as CSS Overlay doesn't load properly

我的未来我决定 提交于 2020-01-04 07:48:00
问题 I try to display a Google Map in an CSS Overlay. The problem is: The Google Map doesn't load properly. The marker is set, but the map with streets and so on is missing. I created a JSFiddle to show my problem. There has to be an Issue with loading. Has anybody an idea why this happens? My CSS Code: .button { width: 150px; padding: 10px; background-color: #FF8C00; box-shadow: -8px 8px 10px 3px rgba(0, 0, 0, 0.2); font-weight: bold; text-decoration: none; } #cover { position: fixed; top: 0;

Looking for JS/JQuery FULLY modal overlay [closed]

六月ゝ 毕业季﹏ 提交于 2020-01-04 04:19:11
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I need a modal overlay that will block interaction with the rest of the page and is NOT CLOSABLE by the user, but can't seem to find one where I don't have to override existing functionality (like removing the X button or removing the esc-to-close feature). Anyone know of a JQuery plugin or other JS library that

draw overlay line on google static map with markers

不想你离开。 提交于 2020-01-03 17:31:12
问题 i used this url to draw map with overlay line http://maps.google.com/maps/api/staticmap?size=400x400&zoom=13&path=color:0xff0000ff|weight:5|40.737102,-73.990318|40.749825,-73.987963&sensor=false i want to add markers to start and end position.. so i used the url below maps.google.com/maps/api/staticmap?size=400x400&zoom=13&path=color:0xff0000ff|weight:5|&markers=color:blue|label:S|40.737102,-73.990318|40.749825,-73.987963&sensor=false this url shows markers but not the overlay line.. please

Android Best way to overlay an item in an ImageView

拟墨画扇 提交于 2020-01-03 05:28:10
问题 Any ideas on how to overlay a View over an ImageView? More specifically I would like to popover view when the user clicks in certain regions of my ImageView. I'm solving this problem drawing the popover view after the image in the onDraw() method but it has been a pain to handle events when the user clicks in the popover. Thanks in advance 回答1: FrameLayout resolves this problem. You can place two children inside the FrameLayout , where the first child will be the background and the second