mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
add theartofdev.edmodo:android-image-cropper for image editing
This commit is contained in:
@ -1,5 +1,17 @@
|
||||
package com.simplemobiletools.gallery.activities
|
||||
|
||||
class EditActivity : SimpleActivity() {
|
||||
import android.os.Bundle
|
||||
import com.simplemobiletools.gallery.R
|
||||
import com.theartofdev.edmodo.cropper.CropImageView
|
||||
import kotlinx.android.synthetic.main.activity_edit.*
|
||||
|
||||
class EditActivity : SimpleActivity() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
setContentView(R.layout.activity_edit)
|
||||
|
||||
crop_image_view.apply {
|
||||
guidelines = CropImageView.Guidelines.OFF
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user