diff options
author | xC3FFF0E <78732474+xC3FFF0E@users.noreply.github.com> | 2022-11-24 18:11:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-24 18:11:06 +0100 |
commit | 6893549e5a3d800540a3cd59ee0607610e2037df (patch) | |
tree | e28def1e1cd2db59bcdf68199b4e3600cab92780 /app/src | |
parent | Update MainActivity.java (diff) | |
download | xManager-6893549e5a3d800540a3cd59ee0607610e2037df.tar xManager-6893549e5a3d800540a3cd59ee0607610e2037df.tar.gz xManager-6893549e5a3d800540a3cd59ee0607610e2037df.tar.bz2 xManager-6893549e5a3d800540a3cd59ee0607610e2037df.tar.lz xManager-6893549e5a3d800540a3cd59ee0607610e2037df.tar.xz xManager-6893549e5a3d800540a3cd59ee0607610e2037df.tar.zst xManager-6893549e5a3d800540a3cd59ee0607610e2037df.zip |
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java b/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java index d8d9637..1c4d7db 100644 --- a/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java +++ b/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java @@ -29,7 +29,6 @@ import androidx.fragment.app.DialogFragment; import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import com.google.android.gms.ads.MobileAds;
-import com.google.firebase.FirebaseApp;
import com.wuyr.rippleanimation.*;
import java.io.*;
import java.text.*;
@@ -55,7 +54,7 @@ public class SplashActivity extends AppCompatActivity { super.onCreate(_savedInstanceState);
setContentView(R.layout.splash);
initialize(_savedInstanceState);
- FirebaseApp.initializeApp(this);
+
MobileAds.initialize(this);
initializeLogic();
@@ -80,37 +79,37 @@ public class SplashActivity extends AppCompatActivity { }
else {
if (1 == SketchwareUtil.getRandom((int)(0), (int)(9))) {
- title_splash.setText("Freedom");
+ title_splash.setText("Made with Love");
title_splash.setTextSize((int)25);
}
else {
if (2 == SketchwareUtil.getRandom((int)(0), (int)(9))) {
- title_splash.setText("Superior");
+ title_splash.setText("Freedom");
title_splash.setTextSize((int)25);
}
else {
if (3 == SketchwareUtil.getRandom((int)(0), (int)(9))) {
- title_splash.setText("Uprising");
+ title_splash.setText("Superior");
title_splash.setTextSize((int)25);
}
else {
if (4 == SketchwareUtil.getRandom((int)(0), (int)(9))) {
- title_splash.setText("Never Go Back");
+ title_splash.setText("Superlative");
title_splash.setTextSize((int)25);
}
else {
if (5 == SketchwareUtil.getRandom((int)(0), (int)(9))) {
- title_splash.setText("Saving Your $10");
+ title_splash.setText("Never Go Back");
title_splash.setTextSize((int)25);
}
else {
if (6 == SketchwareUtil.getRandom((int)(0), (int)(9))) {
- title_splash.setText("It's A Movement");
+ title_splash.setText("Saving Your $10");
title_splash.setTextSize((int)25);
}
else {
if (7 == SketchwareUtil.getRandom((int)(0), (int)(9))) {
- title_splash.setText("Keep 'Em Coming");
+ title_splash.setText("It's A Movement");
title_splash.setTextSize((int)25);
}
else {
@@ -136,10 +135,12 @@ public class SplashActivity extends AppCompatActivity { animation_icon = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
animation_icon.setDuration(800); icon_splash.startAnimation(animation_icon);
animation_icon = null;
+
Animation animation_title;
animation_title = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
animation_title.setDuration(800); title_splash.startAnimation(animation_title);
animation_title = null;
+
Timer = new TimerTask() {
@Override
public void run() {
|