Small updates
This commit is contained in:
parent
b399664431
commit
2fb5f5873f
|
|
@ -2,16 +2,20 @@ apply plugin: 'com.android.library'
|
|||
|
||||
android {
|
||||
compileSdkVersion 24
|
||||
buildToolsVersion '24.0.2'
|
||||
buildToolsVersion '25.0.2'
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 10
|
||||
//noinspection OldTargetApi
|
||||
targetSdkVersion 24
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
//noinspection GradleDependency,GradleCompatible
|
||||
compile 'com.android.support:support-annotations:24.2.1'
|
||||
//noinspection GradleDependency,GradleCompatible
|
||||
compile 'com.android.support:support-v4:24.2.1'
|
||||
}
|
||||
|
||||
//noinspection GradleDependency,GradleCompatible
|
||||
compile 'com.android.support:appcompat-v7:25.0.1'
|
||||
}
|
||||
|
|
@ -22,14 +22,14 @@ import android.graphics.Matrix;
|
|||
import android.graphics.RectF;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Handler;
|
||||
import android.support.v7.widget.AppCompatImageView;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.KeyEvent;
|
||||
import android.widget.ImageView;
|
||||
|
||||
/*
|
||||
* Modified from original in AOSP.
|
||||
*/
|
||||
abstract class ImageViewTouchBase extends ImageView {
|
||||
abstract class ImageViewTouchBase extends AppCompatImageView {
|
||||
|
||||
private static final float SCALE_RATE = 1.25F;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue