mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 09:53:33 +00:00
feat: implemented custom splashscreen
This commit is contained in:
parent
684fd00ed2
commit
0101e0685b
6 changed files with 87 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ import android.os.Handler;
|
|||
import android.view.View;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.core.splashscreen.SplashScreen;
|
||||
import androidx.fragment.app.FragmentManager;
|
||||
import androidx.lifecycle.ViewModelProvider;
|
||||
import androidx.media3.common.Player;
|
||||
|
|
@ -52,6 +53,8 @@ public class MainActivity extends BaseActivity {
|
|||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
SplashScreen.installSplashScreen(this);
|
||||
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
bind = ActivityMainBinding.inflate(getLayoutInflater());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue