-
when use HttpUrlConnection Downloader, it works well.
but replace it by OkHttpDownloader, it crash with OOM every time :
E FATAL EXCEPTION: LibGlobalFetchLib--530481322
Process: com.hangzhou.m…
-
Feature request: FloatView create and destroy animations
As the View returned in the onCreateFloatView is "manually" drawn on the canvas there is no easy(?) way to animate it (startAnimation on the …
-
java.lang.IllegalArgumentException: View not attached to window manager
at android.view.WindowManagerGlobal.find…
-
..希望能修复这个问题.现在我也是监听前后台来进行hide/show...
代码如下,如果设置setDesktopShow(false)就会出现题目问题..
机型:华为荣耀
```
val floatView= ImageView(applicationContext)
floatView.setImageResource(R.mipmap.f…
-
**缩小窗口需额外添加权限,这里分享一个我解决的方法**
/**
* 6.0视频窗口运行权限
*/
if (Build.VERSION.SDK_INT >= 23) {
if (!Settings.canDrawOverlays(context)) {
Intent intent…
-
FloatView 的移动是通过 touchesMoved 方法实现,如果页面有 UISwipeGestureRecognizer 存在,在移动 FloatView 时就会触发 UISwipeGestureRecognizer 相应方法。
-
![default](https://user-images.githubusercontent.com/12730214/47499794-7a648400-d893-11e8-93e7-6ea1f72b69f6.png)
显示的时候不拖动,直接点View是可以正常触发View的onClick事件的,
可是拖动了View之后,再一次点击View不触发onClick第二次点击才触发,
也就是…
-
.../chen/floatview/MainActivity.kt
在使用floatLayout前少了一句
`val floatLayout :FloatLayout = findViewById(R.id.floatlayout)`
-
-
The singleton class DraggableFloatWindow 's dismiss() method is recursive.
Suggest to replace DraggableFloatWindow.java line 63 `mWindowManager.dismiss();` with `"mWindowManager.removeView(mDraggable…