lets show CropImageView guidelines on touch

This commit is contained in:
tibbi 2017-04-19 22:30:22 +02:00
parent 82260ff42f
commit 6111b4be72
2 changed files with 0 additions and 2 deletions

View file

@ -46,7 +46,6 @@ class EditActivity : SimpleActivity(), CropImageView.OnCropImageCompleteListener
}
crop_image_view.apply {
guidelines = CropImageView.Guidelines.OFF
setOnCropImageCompleteListener(this@EditActivity)
setImageUriAsync(intent.data)
}

View file

@ -46,7 +46,6 @@ class SetWallpaperActivity : SimpleActivity(), CropImageView.OnCropImageComplete
wallpaperManager = WallpaperManager.getInstance(applicationContext)
crop_image_view.apply {
guidelines = CropImageView.Guidelines.OFF
setOnCropImageCompleteListener(this@SetWallpaperActivity)
setImageUriAsync(uri)
}