mirror of
https://github.com/SimpleMobileTools/Simple-Draw.git
synced 2025-04-03 21:31:11 +02:00
move MyCanvas in View folder
This commit is contained in:
parent
8e4dba278f
commit
42e1f06d16
@ -19,7 +19,6 @@ import com.simplemobiletools.commons.helpers.LICENSE_KOTLIN
|
|||||||
import com.simplemobiletools.commons.helpers.PERMISSION_WRITE_STORAGE
|
import com.simplemobiletools.commons.helpers.PERMISSION_WRITE_STORAGE
|
||||||
import com.simplemobiletools.commons.models.Release
|
import com.simplemobiletools.commons.models.Release
|
||||||
import com.simplemobiletools.draw.BuildConfig
|
import com.simplemobiletools.draw.BuildConfig
|
||||||
import com.simplemobiletools.draw.MyCanvas
|
|
||||||
import com.simplemobiletools.draw.R
|
import com.simplemobiletools.draw.R
|
||||||
import com.simplemobiletools.draw.dialogs.SaveImageDialog
|
import com.simplemobiletools.draw.dialogs.SaveImageDialog
|
||||||
import com.simplemobiletools.draw.extensions.config
|
import com.simplemobiletools.draw.extensions.config
|
||||||
@ -27,6 +26,7 @@ import com.simplemobiletools.draw.helpers.JPG
|
|||||||
import com.simplemobiletools.draw.helpers.PNG
|
import com.simplemobiletools.draw.helpers.PNG
|
||||||
import com.simplemobiletools.draw.helpers.SVG
|
import com.simplemobiletools.draw.helpers.SVG
|
||||||
import com.simplemobiletools.draw.models.Svg
|
import com.simplemobiletools.draw.models.Svg
|
||||||
|
import com.simplemobiletools.draw.views.MyCanvas
|
||||||
import kotlinx.android.synthetic.main.activity_main.*
|
import kotlinx.android.synthetic.main.activity_main.*
|
||||||
import java.io.ByteArrayOutputStream
|
import java.io.ByteArrayOutputStream
|
||||||
import java.io.File
|
import java.io.File
|
||||||
|
@ -4,7 +4,7 @@ import android.support.v7.app.AlertDialog
|
|||||||
import android.view.WindowManager
|
import android.view.WindowManager
|
||||||
import com.simplemobiletools.commons.dialogs.FilePickerDialog
|
import com.simplemobiletools.commons.dialogs.FilePickerDialog
|
||||||
import com.simplemobiletools.commons.extensions.*
|
import com.simplemobiletools.commons.extensions.*
|
||||||
import com.simplemobiletools.draw.MyCanvas
|
import com.simplemobiletools.draw.views.MyCanvas
|
||||||
import com.simplemobiletools.draw.R
|
import com.simplemobiletools.draw.R
|
||||||
import com.simplemobiletools.draw.models.Svg
|
import com.simplemobiletools.draw.models.Svg
|
||||||
import com.simplemobiletools.draw.activities.SimpleActivity
|
import com.simplemobiletools.draw.activities.SimpleActivity
|
||||||
|
@ -7,7 +7,7 @@ import android.sax.RootElement
|
|||||||
import android.util.Xml
|
import android.util.Xml
|
||||||
import com.simplemobiletools.commons.extensions.getFileOutputStream
|
import com.simplemobiletools.commons.extensions.getFileOutputStream
|
||||||
import com.simplemobiletools.commons.extensions.toast
|
import com.simplemobiletools.commons.extensions.toast
|
||||||
import com.simplemobiletools.draw.MyCanvas
|
import com.simplemobiletools.draw.views.MyCanvas
|
||||||
import com.simplemobiletools.draw.R
|
import com.simplemobiletools.draw.R
|
||||||
import com.simplemobiletools.draw.activities.MainActivity
|
import com.simplemobiletools.draw.activities.MainActivity
|
||||||
import com.simplemobiletools.draw.activities.SimpleActivity
|
import com.simplemobiletools.draw.activities.SimpleActivity
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.simplemobiletools.draw
|
package com.simplemobiletools.draw.views
|
||||||
|
|
||||||
import android.app.Activity
|
import android.app.Activity
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
@ -12,6 +12,7 @@ import com.bumptech.glide.load.DecodeFormat
|
|||||||
import com.bumptech.glide.request.RequestOptions
|
import com.bumptech.glide.request.RequestOptions
|
||||||
import com.simplemobiletools.commons.extensions.getContrastColor
|
import com.simplemobiletools.commons.extensions.getContrastColor
|
||||||
import com.simplemobiletools.commons.extensions.toast
|
import com.simplemobiletools.commons.extensions.toast
|
||||||
|
import com.simplemobiletools.draw.R
|
||||||
import com.simplemobiletools.draw.models.MyParcelable
|
import com.simplemobiletools.draw.models.MyParcelable
|
||||||
import com.simplemobiletools.draw.models.MyPath
|
import com.simplemobiletools.draw.models.MyPath
|
||||||
import com.simplemobiletools.draw.models.PaintOptions
|
import com.simplemobiletools.draw.models.PaintOptions
|
@ -5,7 +5,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
<com.simplemobiletools.draw.MyCanvas
|
<com.simplemobiletools.draw.views.MyCanvas
|
||||||
android:id="@+id/my_canvas"
|
android:id="@+id/my_canvas"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user