Compare commits

..

No commits in common. "feature/zte-fix" and "master" have entirely different histories.

3 changed files with 7 additions and 8 deletions

View File

@ -8,8 +8,8 @@ buildscript {
}
}
dependencies {
// classpath 'com.android.tools.build:gradle:2.3.0'
// classpath 'com.github.dcendents:android-maven-plugin:1.2'
classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'com.github.dcendents:android-maven-plugin:1.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files

View File

@ -2,18 +2,17 @@ apply plugin: 'com.android.library'
android {
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
defaultConfig {
minSdkVersion 14
minSdkVersion 9
targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION)
}
}
dependencies {
//noinspection GradleDependency
implementation "com.android.support:recyclerview-v7:$supportLibraryVersion"
//noinspection GradleDependency
implementation "com.android.support:support-v4:$supportLibraryVersion"
compile 'com.android.support:recyclerview-v7:25.2.0'
compile 'com.android.support:support-v4:25.2.0'
}
apply from: './gradle-mvn-push.gradle'

View File

@ -1307,7 +1307,7 @@ public class SwipeLayout extends FrameLayout {
}
int surfaceLeft = surfaceView.getLeft();
int surfaceTop = surfaceView.getTop();
if (surfaceLeft == getPaddingLeft() && surfaceTop == getPaddingTop() && !mIsBeingDragged) return Status.Close;
if (surfaceLeft == getPaddingLeft() && surfaceTop == getPaddingTop()) return Status.Close;
if (surfaceLeft == (getPaddingLeft() - mDragDistance) || surfaceLeft == (getPaddingLeft() + mDragDistance)
|| surfaceTop == (getPaddingTop() - mDragDistance) || surfaceTop == (getPaddingTop() + mDragDistance))