From 5b5006b1a4f555ac76cf37628a259d95b2b1cc95 Mon Sep 17 00:00:00 2001 From: preyearegmi Date: Thu, 7 Feb 2019 18:42:48 +0900 Subject: [PATCH] Splash animation added --- .../splash_screen/view/SplashScreen.java | 11 ++++++++++- app/src/main/res/drawable/language.png | Bin 1853 -> 1861 bytes .../layout/activity_splash_screen_key_1.xml | 16 ++++++++++++++-- .../layout/activity_splash_screen_key_2.xml | 16 ++++++++++++++-- app/src/main/res/values/strings.xml | 5 +---- 5 files changed, 39 insertions(+), 9 deletions(-) diff --git a/app/src/main/java/com/gmeremit/online/gmeremittance_native/splash_screen/view/SplashScreen.java b/app/src/main/java/com/gmeremit/online/gmeremittance_native/splash_screen/view/SplashScreen.java index 380d0822..c479f76c 100644 --- a/app/src/main/java/com/gmeremit/online/gmeremittance_native/splash_screen/view/SplashScreen.java +++ b/app/src/main/java/com/gmeremit/online/gmeremittance_native/splash_screen/view/SplashScreen.java @@ -64,6 +64,9 @@ public class SplashScreen extends AppCompatActivity { @BindView(R.id.languageView) View languageView; + @BindView(R.id.iv_back) + View iv_back; + private int[] layouts; private TextView[] dots; @@ -155,7 +158,7 @@ public class SplashScreen extends AppCompatActivity { constraintSet.clone(this, R.layout.activity_splash_screen_key_2); Transition transition = new ChangeBounds(); - transition.setInterpolator(new AnticipateOvershootInterpolator(1.2f)); + transition.setInterpolator(new AnticipateOvershootInterpolator(1f)); transition.setDuration(1000); transition.addListener(new TransitionListenerAdapter(){ @Override @@ -169,6 +172,12 @@ public class SplashScreen extends AppCompatActivity { } }).start(); } + + @Override + public void onTransitionEnd(@NonNull Transition transition) { + super.onTransitionEnd(transition); + iv_back.setVisibility(View.VISIBLE); + } }); TransitionManager.beginDelayedTransition(rootLayout, transition); constraintSet.applyTo(rootLayout); diff --git a/app/src/main/res/drawable/language.png b/app/src/main/res/drawable/language.png index ced0f60edcb8f8508e3c2f4c2a39fe8162493c4f..9eb0a760d32222d39ceac6df69251fd5b7fa9c12 100644 GIT binary patch delta 1645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^6_JH?=^4AcJKnXGvu7AS)}2@m11} bv^YshJR@0_P(04Jh9D3q3h}M?*|zuJqu2Oe diff --git a/app/src/main/res/layout/activity_splash_screen_key_1.xml b/app/src/main/res/layout/activity_splash_screen_key_1.xml index 35733b4e..dbb212bd 100644 --- a/app/src/main/res/layout/activity_splash_screen_key_1.xml +++ b/app/src/main/res/layout/activity_splash_screen_key_1.xml @@ -7,6 +7,19 @@ android:layout_height="match_parent" android:background="@color/colorPrimary"> + + Unpaid Paid Processing request… - - - - + Select Language