mirror of
https://github.com/leanote/leanote-android.git
synced 2025-10-14 22:25:40 +00:00
add support Android Studio 2.3.3 , replace the icon of the startup page, reduced waiting time for homepage startup.
This commit is contained in:
@@ -32,8 +32,8 @@ android {
|
||||
storePassword System.getenv('KEYSTORE_PWD')
|
||||
}
|
||||
}
|
||||
compileSdkVersion 24
|
||||
buildToolsVersion "25.0.1"
|
||||
compileSdkVersion 25
|
||||
buildToolsVersion "25.0.2"
|
||||
defaultConfig {
|
||||
applicationId "com.leanote.android"
|
||||
minSdkVersion 19
|
||||
@@ -69,11 +69,11 @@ dependencies {
|
||||
exclude group: 'com.android.support', module: 'support-annotations'
|
||||
})
|
||||
testCompile 'junit:junit:4.12'
|
||||
compile 'com.android.support:appcompat-v7:24.1.0'
|
||||
compile 'com.android.support:support-v4:24.1.0'
|
||||
compile 'com.android.support:design:24.1.0'
|
||||
compile 'com.android.support:recyclerview-v7:24.1.0'
|
||||
compile 'com.android.support:cardview-v7:24.1.0'
|
||||
compile 'com.android.support:appcompat-v7:25.3.0'
|
||||
compile 'com.android.support:support-v4:25.3.0'
|
||||
compile 'com.android.support:design:25.3.0'
|
||||
compile 'com.android.support:recyclerview-v7:25.3.0'
|
||||
compile 'com.android.support:cardview-v7:25.3.0'
|
||||
|
||||
compile 'com.jakewharton:butterknife:8.4.0'
|
||||
apt 'com.jakewharton:butterknife-compiler:8.4.0'
|
||||
@@ -94,7 +94,7 @@ dependencies {
|
||||
|
||||
compile 'com.github.bumptech.glide:glide:3.7.0'
|
||||
compile 'jp.wasabeef:glide-transformations:2.0.1'
|
||||
compile 'com.android.support:support-v13:24.1.0'
|
||||
compile 'com.android.support:support-v13:25.3.0'
|
||||
compile 'com.yuyh.imgsel:library:1.3.2'
|
||||
compile 'com.facebook.stetho:stetho:1.4.2'
|
||||
compile 'com.facebook.stetho:stetho-okhttp3:1.4.2'
|
||||
|
@@ -4,8 +4,6 @@ import android.animation.Animator;
|
||||
import android.app.Activity;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.view.Window;
|
||||
import android.view.WindowManager;
|
||||
|
||||
import org.houxg.leamonax.R;
|
||||
@@ -32,9 +30,7 @@ public class LaunchActivity extends Activity {
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
findViewById(R.id.iv_logo)
|
||||
.animate()
|
||||
.scaleX(1.5f)
|
||||
.scaleY(1.5f)
|
||||
.setDuration(3000)
|
||||
.setDuration(1000)
|
||||
.setListener(new Animator.AnimatorListener() {
|
||||
@Override
|
||||
public void onAnimationStart(Animator animator) {
|
||||
@@ -58,4 +54,9 @@ public class LaunchActivity extends Activity {
|
||||
}
|
||||
}).start();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBackPressed() {
|
||||
|
||||
}
|
||||
}
|
||||
|
BIN
app/src/main/res/drawable/ic_launcher.png
Normal file
BIN
app/src/main/res/drawable/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.7 KiB |
@@ -7,9 +7,9 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_logo"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="200dp"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="150dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:src="@mipmap/ic_launcher" />
|
||||
android:src="@drawable/ic_launcher" />
|
||||
|
||||
</RelativeLayout>
|
@@ -5,7 +5,7 @@ buildscript {
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:2.2.3'
|
||||
classpath 'com.android.tools.build:gradle:2.3.3'
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
|
4
gradle/wrapper/gradle-wrapper.properties
vendored
4
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,6 +1,6 @@
|
||||
#Mon Dec 28 10:00:20 PST 2015
|
||||
#Thu Oct 19 16:56:00 CST 2017
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
|
Reference in New Issue
Block a user