mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
rename Panorama activity to PanoramaPhoto
This commit is contained in:
parent
7bc48bee0b
commit
9a4e9ad318
3 changed files with 4 additions and 4 deletions
|
@ -123,7 +123,7 @@
|
||||||
android:configChanges="orientation|keyboardHidden|screenSize"/>
|
android:configChanges="orientation|keyboardHidden|screenSize"/>
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".activities.PanoramaActivity"
|
android:name=".activities.PanoramaPhotoActivity"
|
||||||
android:configChanges="orientation|keyboardHidden|screenSize"
|
android:configChanges="orientation|keyboardHidden|screenSize"
|
||||||
android:theme="@style/FullScreenTheme"/>
|
android:theme="@style/FullScreenTheme"/>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ import com.simplemobiletools.gallery.extensions.*
|
||||||
import com.simplemobiletools.gallery.helpers.PATH
|
import com.simplemobiletools.gallery.helpers.PATH
|
||||||
import kotlinx.android.synthetic.main.activity_panorama.*
|
import kotlinx.android.synthetic.main.activity_panorama.*
|
||||||
|
|
||||||
open class PanoramaActivity : SimpleActivity() {
|
open class PanoramaPhotoActivity : SimpleActivity() {
|
||||||
private val CARDBOARD_DISPLAY_MODE = 3
|
private val CARDBOARD_DISPLAY_MODE = 3
|
||||||
|
|
||||||
private var isFullScreen = false
|
private var isFullScreen = false
|
|
@ -29,7 +29,7 @@ import com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
|
||||||
import com.simplemobiletools.commons.extensions.*
|
import com.simplemobiletools.commons.extensions.*
|
||||||
import com.simplemobiletools.commons.helpers.OTG_PATH
|
import com.simplemobiletools.commons.helpers.OTG_PATH
|
||||||
import com.simplemobiletools.gallery.R
|
import com.simplemobiletools.gallery.R
|
||||||
import com.simplemobiletools.gallery.activities.PanoramaActivity
|
import com.simplemobiletools.gallery.activities.PanoramaPhotoActivity
|
||||||
import com.simplemobiletools.gallery.activities.PhotoActivity
|
import com.simplemobiletools.gallery.activities.PhotoActivity
|
||||||
import com.simplemobiletools.gallery.activities.ViewPagerActivity
|
import com.simplemobiletools.gallery.activities.ViewPagerActivity
|
||||||
import com.simplemobiletools.gallery.extensions.*
|
import com.simplemobiletools.gallery.extensions.*
|
||||||
|
@ -341,7 +341,7 @@ class PhotoFragment : ViewPagerFragment() {
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun openPanorama() {
|
private fun openPanorama() {
|
||||||
Intent(context, PanoramaActivity::class.java).apply {
|
Intent(context, PanoramaPhotoActivity::class.java).apply {
|
||||||
putExtra(PATH, medium.path)
|
putExtra(PATH, medium.path)
|
||||||
startActivity(this)
|
startActivity(this)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue