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 @@