Ask Your Question
2

Is it not possible to set another activity as the main activity in Android Studio?

asked 2021-11-07 11:00:00 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-04-22 07:00:00 +0000

djk gravatar image

It is possible to set another activity as the main activity in Android Studio. You can do this by editing the "AndroidManifest.xml" file in your project and changing the "android:name" attribute of the activity you want to be the main activity to "android.intent.action.MAIN" and "android.intent.category.LAUNCHER". This will make the chosen activity the default activity that is launched when the application is started.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-11-07 11:00:00 +0000

Seen: 12 times

Last updated: Apr 22 '21