do not hide the system UI at initiating fullscreen photo/video
This commit is contained in:
parent
66221ff82d
commit
5f64a02763
2 changed files with 2 additions and 4 deletions
|
@ -17,7 +17,7 @@ import com.simplemobiletools.gallery.models.Medium
|
||||||
import java.io.File
|
import java.io.File
|
||||||
|
|
||||||
open class PhotoVideoActivity : SimpleActivity(), ViewPagerFragment.FragmentClickListener {
|
open class PhotoVideoActivity : SimpleActivity(), ViewPagerFragment.FragmentClickListener {
|
||||||
private var mIsFullScreen = true
|
private var mIsFullScreen = false
|
||||||
lateinit var mUri: Uri
|
lateinit var mUri: Uri
|
||||||
lateinit var mFragment: ViewPagerFragment
|
lateinit var mFragment: ViewPagerFragment
|
||||||
|
|
||||||
|
@ -42,7 +42,6 @@ open class PhotoVideoActivity : SimpleActivity(), ViewPagerFragment.FragmentClic
|
||||||
mFragment.arguments = bundle
|
mFragment.arguments = bundle
|
||||||
supportFragmentManager.beginTransaction().replace(R.id.fragment_holder, mFragment).commit()
|
supportFragmentManager.beginTransaction().replace(R.id.fragment_holder, mFragment).commit()
|
||||||
}
|
}
|
||||||
hideSystemUI()
|
|
||||||
|
|
||||||
if (mUri.scheme == "content") {
|
if (mUri.scheme == "content") {
|
||||||
val proj = arrayOf(MediaStore.Images.Media.TITLE)
|
val proj = arrayOf(MediaStore.Images.Media.TITLE)
|
||||||
|
|
|
@ -81,10 +81,9 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
||||||
}
|
}
|
||||||
|
|
||||||
mPos = 0
|
mPos = 0
|
||||||
mIsFullScreen = true
|
mIsFullScreen = false
|
||||||
mToBeDeleted = ""
|
mToBeDeleted = ""
|
||||||
mBeingDeleted = ""
|
mBeingDeleted = ""
|
||||||
hideSystemUI()
|
|
||||||
|
|
||||||
scanPath(mPath) {}
|
scanPath(mPath) {}
|
||||||
addUndoMargin()
|
addUndoMargin()
|
||||||
|
|
Loading…
Reference in a new issue