First on the main activity make a delayed function to open a new intent to another created home activity ( just create another activity from file new activity -> empty activity)

At first I thought you need an temporary activity then that activity just close it... after trying the mainActivity will be the splash of the activity so now we'll be working on the new activity homeActivity.