From f865af04a1348a78c67000ecf6a81ada7dbdf492 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 17 Dec 2018 21:48:48 +0100 Subject: [PATCH] rename resize_image.xml to dialog_resize_image.xml --- .../com/simplemobiletools/gallery/pro/dialogs/ResizeDialog.kt | 4 ++-- .../res/layout/{resize_image.xml => dialog_resize_image.xml} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename app/src/main/res/layout/{resize_image.xml => dialog_resize_image.xml} (98%) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ResizeDialog.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ResizeDialog.kt index c7c10050e..7326ec044 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ResizeDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/ResizeDialog.kt @@ -6,11 +6,11 @@ import androidx.appcompat.app.AlertDialog import com.simplemobiletools.commons.activities.BaseSimpleActivity import com.simplemobiletools.commons.extensions.* import com.simplemobiletools.gallery.pro.R -import kotlinx.android.synthetic.main.resize_image.view.* +import kotlinx.android.synthetic.main.dialog_resize_image.view.* class ResizeDialog(val activity: BaseSimpleActivity, val size: Point, val callback: (newSize: Point) -> Unit) { init { - val view = activity.layoutInflater.inflate(R.layout.resize_image, null) + val view = activity.layoutInflater.inflate(R.layout.dialog_resize_image, null) val widthView = view.image_width val heightView = view.image_height diff --git a/app/src/main/res/layout/resize_image.xml b/app/src/main/res/layout/dialog_resize_image.xml similarity index 98% rename from app/src/main/res/layout/resize_image.xml rename to app/src/main/res/layout/dialog_resize_image.xml index a6071a333..1f1300337 100644 --- a/app/src/main/res/layout/resize_image.xml +++ b/app/src/main/res/layout/dialog_resize_image.xml @@ -1,7 +1,7 @@