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:
Ericwyn
2017-10-23 17:44:25 +08:00
committed by xxx
parent e8bed72f1a
commit 22333472ca
6 changed files with 20 additions and 19 deletions

View File

@@ -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'

View File

@@ -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() {
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

@@ -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>