mirror of
https://github.com/Team-xManager/xManager.git
synced 2024-11-23 12:06:43 +01:00
Rename SplashActivity.java to SplashActivity.java.
This commit is contained in:
parent
b6a0c344b7
commit
223f44ef8f
@ -48,19 +48,19 @@ public class SplashActivity extends AppCompatActivity {
|
||||
icon_manager = (ImageView) findViewById(R.id.icon_manager);
|
||||
}
|
||||
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) {
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user