mirror of
https://github.com/Team-xManager/xManager.git
synced 2024-11-23 12:06:43 +01:00
Update SplashActivity.java
This commit is contained in:
parent
5daa8e0d53
commit
cbe49804e4
@ -29,7 +29,6 @@ import androidx.fragment.app.DialogFragment;
|
|||||||
import androidx.fragment.app.Fragment;
|
import androidx.fragment.app.Fragment;
|
||||||
import androidx.fragment.app.FragmentManager;
|
import androidx.fragment.app.FragmentManager;
|
||||||
import com.google.android.gms.ads.MobileAds;
|
import com.google.android.gms.ads.MobileAds;
|
||||||
import com.google.android.material.*;
|
|
||||||
import com.google.firebase.FirebaseApp;
|
import com.google.firebase.FirebaseApp;
|
||||||
import com.wuyr.rippleanimation.*;
|
import com.wuyr.rippleanimation.*;
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
@ -75,52 +74,37 @@ public class SplashActivity extends AppCompatActivity {
|
|||||||
w.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS); w.setStatusBarColor(0xFF171717);
|
w.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS); w.setStatusBarColor(0xFF171717);
|
||||||
}
|
}
|
||||||
title_splash.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_glitch.ttf"), 1);
|
title_splash.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_glitch.ttf"), 1);
|
||||||
if (0 == SketchwareUtil.getRandom((int)(0), (int)(9))) {
|
if (0 == SketchwareUtil.getRandom((int)(0), (int)(6))) {
|
||||||
title_splash.setText("xManager");
|
title_splash.setText("xManager");
|
||||||
title_splash.setTextSize((int)25);
|
title_splash.setTextSize((int)25);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (1 == SketchwareUtil.getRandom((int)(0), (int)(9))) {
|
if (1 == SketchwareUtil.getRandom((int)(0), (int)(6))) {
|
||||||
title_splash.setText("Made with Love");
|
title_splash.setText("Made with Love");
|
||||||
title_splash.setTextSize((int)25);
|
title_splash.setTextSize((int)25);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (2 == SketchwareUtil.getRandom((int)(0), (int)(9))) {
|
if (2 == SketchwareUtil.getRandom((int)(0), (int)(6))) {
|
||||||
title_splash.setText("Freedom");
|
|
||||||
title_splash.setTextSize((int)25);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
if (3 == SketchwareUtil.getRandom((int)(0), (int)(9))) {
|
|
||||||
title_splash.setText("Superior");
|
|
||||||
title_splash.setTextSize((int)25);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
if (4 == SketchwareUtil.getRandom((int)(0), (int)(9))) {
|
|
||||||
title_splash.setText("Superlative");
|
|
||||||
title_splash.setTextSize((int)25);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
if (5 == SketchwareUtil.getRandom((int)(0), (int)(9))) {
|
|
||||||
title_splash.setText("Never Go Back");
|
|
||||||
title_splash.setTextSize((int)25);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
if (6 == SketchwareUtil.getRandom((int)(0), (int)(9))) {
|
|
||||||
title_splash.setText("Saving Your $10");
|
|
||||||
title_splash.setTextSize((int)25);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
if (7 == SketchwareUtil.getRandom((int)(0), (int)(9))) {
|
|
||||||
title_splash.setText("It's A Movement");
|
title_splash.setText("It's A Movement");
|
||||||
title_splash.setTextSize((int)25);
|
title_splash.setTextSize((int)25);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (8 == SketchwareUtil.getRandom((int)(0), (int)(9))) {
|
if (3 == SketchwareUtil.getRandom((int)(0), (int)(6))) {
|
||||||
title_splash.setText("We Are Resistance");
|
title_splash.setText("We Are Resistance");
|
||||||
|
title_splash.setTextSize((int)25);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if (4 == SketchwareUtil.getRandom((int)(0), (int)(6))) {
|
||||||
|
title_splash.setText("Bravo Six, Going Dark");
|
||||||
|
title_splash.setTextSize((int)25);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if (5 == SketchwareUtil.getRandom((int)(0), (int)(6))) {
|
||||||
|
title_splash.setText("Freedom For Everyone");
|
||||||
title_splash.setTextSize((int)20);
|
title_splash.setTextSize((int)20);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
title_splash.setText("Spotify but on steroids");
|
title_splash.setText("Don't Make Us Popular!");
|
||||||
title_splash.setTextSize((int)20);
|
title_splash.setTextSize((int)20);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -128,9 +112,6 @@ public class SplashActivity extends AppCompatActivity {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Animation animation_icon;
|
Animation animation_icon;
|
||||||
animation_icon = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
|
animation_icon = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
|
||||||
animation_icon.setDuration(800); icon_splash.startAnimation(animation_icon);
|
animation_icon.setDuration(800); icon_splash.startAnimation(animation_icon);
|
||||||
|
Loading…
Reference in New Issue
Block a user