From c943c904e0eb7e0917daf326f970734bf7f1398b Mon Sep 17 00:00:00 2001 From: xC3FFF0E <78732474+xC3FFF0E@users.noreply.github.com> Date: Sun, 16 Jul 2023 00:24:11 +0800 Subject: Update SplashActivity.java --- .../java/com/xc3fff0e/xmanager/SplashActivity.java | 26 +++++++++------------- 1 file changed, 10 insertions(+), 16 deletions(-) (limited to 'app/src/main/java/com/xc3fff0e') diff --git a/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java b/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java index 5bd92e2..49e3b4f 100644 --- a/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java +++ b/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java @@ -76,34 +76,28 @@ public class SplashActivity extends AppCompatActivity { } Glide.with(getApplicationContext()).load(Uri.parse("file:///android_asset/splash.gif")).into(icon_splash); title_splash.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_glitch.ttf"), 1); - if (0 == SketchwareUtil.getRandom((int)(0), (int)(5))) { + if (0 == SketchwareUtil.getRandom((int)(0), (int)(4))) { title_splash.setText("xManager"); title_splash.setTextSize((int)25); } else { - if (1 == SketchwareUtil.getRandom((int)(0), (int)(5))) { - title_splash.setText("Exodus 20:15"); + if (1 == SketchwareUtil.getRandom((int)(0), (int)(4))) { + title_splash.setText("It's A Movement"); title_splash.setTextSize((int)25); } else { - if (2 == SketchwareUtil.getRandom((int)(0), (int)(5))) { - title_splash.setText("It's A Movement"); + if (2 == SketchwareUtil.getRandom((int)(0), (int)(4))) { + title_splash.setText("We Are Resistance"); title_splash.setTextSize((int)25); } else { - if (3 == SketchwareUtil.getRandom((int)(0), (int)(5))) { - title_splash.setText("We Are Resistance"); - title_splash.setTextSize((int)25); + if (3 == SketchwareUtil.getRandom((int)(0), (int)(4))) { + title_splash.setText("Freedom For Everyone"); + title_splash.setTextSize((int)20); } else { - if (4 == SketchwareUtil.getRandom((int)(0), (int)(5))) { - title_splash.setText("Freedom For Everyone"); - title_splash.setTextSize((int)20); - } - else { - title_splash.setText("Don't Make Us Popular!"); - title_splash.setTextSize((int)20); - } + title_splash.setText("Don't Make Us Popular!"); + title_splash.setTextSize((int)20); } } } -- cgit v1.2.3