From 19aeccc3743d1f7aea1ece6d37d861ad32cb79fc Mon Sep 17 00:00:00 2001 From: junolym Date: Mon, 22 May 2017 16:29:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B2=BE=E7=AE=80=E5=90=AF=E5=8A=A8=E5=8A=A8?= =?UTF-8?q?=E7=94=BB=E4=BB=A5=E6=9B=B4=E5=BF=AB=E8=BF=9B=E5=85=A5=E4=B8=BB?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/org/houxg/leamonax/ui/LaunchActivity.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/org/houxg/leamonax/ui/LaunchActivity.java b/app/src/main/java/org/houxg/leamonax/ui/LaunchActivity.java index e604cc0..afbe874 100644 --- a/app/src/main/java/org/houxg/leamonax/ui/LaunchActivity.java +++ b/app/src/main/java/org/houxg/leamonax/ui/LaunchActivity.java @@ -29,12 +29,13 @@ protected void onCreate(Bundle savedInstanceState) { } else { intent = new Intent(this, SignInActivity.class); } - intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK); + intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION); + findViewById(R.id.iv_logo) .animate() - .scaleX(1.5f) - .scaleY(1.5f) - .setDuration(3000) + .scaleX(1.2f) + .scaleY(1.2f) + .setDuration(500) .setListener(new Animator.AnimatorListener() { @Override public void onAnimationStart(Animator animator) {