else
else
你觉得哪里能够继续简化,写出你的观点明细,留下你的分析思考。
+1
都是下载到本地播放的,这个问题不用管,issue可以关闭了
用这个`toggleSwitch`方法收尾延时变化
[如何展示全屏预览](https://github.com/iielse/imageviewer/blob/master/app/src/main/java/com/github/iielse/imageviewer/demo/business/MainActivity.kt) ``` binding.fullScreen.setOnClickListener { val isFullScreen = ViewerHelper.fullScreen ViewerHelper.fullScreen = !isFullScreen binding.fullScreen.text = if (!isFullScreen) "FullScreen(on)" else "FullScreen(off)" Config.TRANSITION_OFFSET_Y = if (!isFullScreen) 0 else statusBarHeight() } ``` 试试demo的这个功能,是问的这个问题吗?
先看下现在的 demo 效果满足了需求吗?
确认以下历史问题是否和你的提问重叠。 如果是重复问题,先尝试 @1wayticket 提供的解决方案 https://github.com/iielse/imageviewer/issues/148 https://github.com/iielse/imageviewer/issues/103
``` import android.annotation.SuppressLint import android.app.Activity import android.view.View import android.view.WindowManager // Powered by [email protected] // https://github.com/mikepenz/MaterialDrawer/issues/254 // https://github.com/laobie/StatusBarUtil/blob/master/library/src/main/java/com/jaeger/library/StatusBarUtil.java object StatusBarUtils { private const val SYSTEM_UI_FLAG_LIGHT_STATUS_BAR = 0x00002000 private const val SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR...
 大图查看区域延伸到状态栏
你提供的视频里,图片查看的时候,很明显,Activity延伸到状态栏的'特性' 被取消掉了。 从这个方面查找问题