diff options
author | xC3FFF0E <78732474+xC3FFF0E@users.noreply.github.com> | 2021-02-11 17:40:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-11 17:40:31 +0100 |
commit | bce06a601002360621cd1a3e6068e1b85fe2de6b (patch) | |
tree | 88d233de886768e70c40832b412b296761c15781 /app/src/main/java/com/xc3fff0e/xmanager | |
parent | Add files via upload (diff) | |
download | xManager-bce06a601002360621cd1a3e6068e1b85fe2de6b.tar xManager-bce06a601002360621cd1a3e6068e1b85fe2de6b.tar.gz xManager-bce06a601002360621cd1a3e6068e1b85fe2de6b.tar.bz2 xManager-bce06a601002360621cd1a3e6068e1b85fe2de6b.tar.lz xManager-bce06a601002360621cd1a3e6068e1b85fe2de6b.tar.xz xManager-bce06a601002360621cd1a3e6068e1b85fe2de6b.tar.zst xManager-bce06a601002360621cd1a3e6068e1b85fe2de6b.zip |
Diffstat (limited to 'app/src/main/java/com/xc3fff0e/xmanager')
-rw-r--r-- | app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java. (renamed from app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java) | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java b/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java. index 9d8496f..757ebfa 100644 --- a/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java +++ b/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java. @@ -48,19 +48,19 @@ public class SplashActivity extends AppCompatActivity { icon_logo = (ImageView) findViewById(R.id.icon_logo);
}
private void initializeLogic() {
- Timer = new TimerTask() { - @Override - public void run() { - runOnUiThread(new Runnable() { - @Override - public void run() { + Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
Switch_Activity.setClass(getApplicationContext(), MainActivity.class);
startActivity(Switch_Activity);
- finish(); - } - }); - } - }; + finish();
+ }
+ });
+ }
+ };
_timer.schedule(Timer, (int)(1000));
}
@@ -87,12 +87,12 @@ public class SplashActivity extends AppCompatActivity { }
private void _Hide_Navigation () {
try {
- getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY); - - if (Build.VERSION.SDK_INT >= 21) { Window w = this.getWindow(); w.setNavigationBarColor(Color.parseColor("#212121")); + getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);
+
+ if (Build.VERSION.SDK_INT >= 21) { Window w = this.getWindow(); w.setNavigationBarColor(Color.parseColor("#212121"));
}
- } - catch(Exception e) { + }
+ catch(Exception e) {
}
}
|