rename resize_image.xml to dialog_resize_image.xml

This commit is contained in:
tibbi 2018-12-17 21:48:48 +01:00
parent b0f5210b2a
commit f865af04a1
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/rename_directory_holder"
android:id="@+id/resize_image_holder"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"