moving MySquareImageView into commons

This commit is contained in:
tibbi 2022-03-18 17:26:18 +01:00
parent 18e89da361
commit e9b359a976
3 changed files with 2 additions and 19 deletions

View File

@ -63,7 +63,7 @@ android {
}
dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:a55a0cb15d'
implementation 'com.github.SimpleMobileTools:Simple-Commons:f5664f6db4'
implementation 'com.github.Stericson:RootTools:df729dcb13'
implementation 'com.github.Stericson:RootShell:1.6'
implementation 'com.alexvasilkov:gesture-views:2.5.2'

View File

@ -1,17 +0,0 @@
package com.simplemobiletools.filemanager.pro.views
import android.content.Context
import android.util.AttributeSet
import androidx.appcompat.widget.AppCompatImageView
class MySquareImageView : AppCompatImageView {
constructor(context: Context) : super(context)
constructor(context: Context, attrs: AttributeSet) : super(context, attrs)
constructor(context: Context, attrs: AttributeSet, defStyle: Int) : super(context, attrs, defStyle)
override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) {
super.onMeasure(widthMeasureSpec, widthMeasureSpec)
}
}

View File

@ -19,7 +19,7 @@
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/normal_margin">
<com.simplemobiletools.filemanager.pro.views.MySquareImageView
<com.simplemobiletools.commons.views.MySquareImageView
android:id="@+id/item_icon"
android:layout_width="match_parent"
android:layout_height="match_parent"