From a7f3bda7bd32e0d1d828ed7a1fcc280f34cbad5f Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 6 Oct 2016 20:09:24 +0200 Subject: [PATCH] set the initial crop window padding to 0 --- .../com/simplemobiletools/gallery/activities/EditActivity.kt | 1 - app/src/main/res/layout/activity_edit.xml | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt index e265937cb..f43cb7515 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt @@ -29,7 +29,6 @@ class EditActivity : SimpleActivity(), CropImageView.OnCropImageCompleteListener return } - Log.e("DEBUG", "uri $TAG ${intent.data}") crop_image_view.apply { guidelines = CropImageView.Guidelines.OFF setOnCropImageCompleteListener(this@EditActivity) diff --git a/app/src/main/res/layout/activity_edit.xml b/app/src/main/res/layout/activity_edit.xml index 0a2338991..27a8ba280 100644 --- a/app/src/main/res/layout/activity_edit.xml +++ b/app/src/main/res/layout/activity_edit.xml @@ -1,6 +1,7 @@ + android:layout_height="match_parent" + app:cropInitialCropWindowPaddingRatio="0"/>