Answer the question
In order to leave comments, you need to log in
android studio. How to disable return to activity?
Hello.
How to disable the return to the first activity?
In my case, this is an authorization form.
Answer the question
In order to leave comments, you need to log in
https://stackoverflow.com/questions/1898886/removi...
first answer on google)
You can achieve this by setting the android:noHistory attribute to "true" in the relevant entries in your AndroidManifest.xml file. For example:
<activity
android:name=".AnyActivity"
android:noHistory="true" />
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question