mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-02-21 14:20:39 +01:00
renaming the zoomable text view
This commit is contained in:
parent
a175922a1d
commit
9989b4ceb2
@ -12,9 +12,9 @@ import com.simplemobiletools.commons.extensions.getAdjustedPrimaryColor
|
|||||||
import com.simplemobiletools.commons.extensions.onGlobalLayout
|
import com.simplemobiletools.commons.extensions.onGlobalLayout
|
||||||
import com.simplemobiletools.filemanager.pro.extensions.config
|
import com.simplemobiletools.filemanager.pro.extensions.config
|
||||||
|
|
||||||
// taken from
|
// inspired by
|
||||||
// https://github.com/alexvasilkov/GestureViews/blob/f0a4c266e31dcad23bd0d9013531bc1c501b9c9f/sample/src/main/java/com/alexvasilkov/gestures/sample/ex/custom/text/GestureTextView.java
|
// https://github.com/alexvasilkov/GestureViews/blob/f0a4c266e31dcad23bd0d9013531bc1c501b9c9f/sample/src/main/java/com/alexvasilkov/gestures/sample/ex/custom/text/GestureTextView.java
|
||||||
class GestureTextView : AppCompatEditText, GestureView {
|
class GestureEditText : AppCompatEditText, GestureView {
|
||||||
constructor(context: Context) : super(context)
|
constructor(context: Context) : super(context)
|
||||||
|
|
||||||
constructor(context: Context, attrs: AttributeSet) : super(context, attrs)
|
constructor(context: Context, attrs: AttributeSet) : super(context, attrs)
|
@ -6,7 +6,7 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:fillViewport="true">
|
android:fillViewport="true">
|
||||||
|
|
||||||
<com.simplemobiletools.filemanager.pro.views.GestureTextView
|
<com.simplemobiletools.filemanager.pro.views.GestureEditText
|
||||||
android:id="@+id/read_text_view"
|
android:id="@+id/read_text_view"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user