A
A
alexandrkupriyanov2019-03-18 14:54:15
Android
alexandrkupriyanov, 2019-03-18 14:54:15

How to remove extra shortcuts from Activity in Android Studio?

Good afternoon! I didn’t develop anything for three years and decided to take up a hobby again)
There are 5 activities, and when installing the application, they created 5 shortcuts with the same titles. How to remove everything but the main one? In the manifest some line can be added.
Also, in parallel with this, the transitions between activities are carried out as if a new application is being launched. How can I remove this animation?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
EVGENY T., 2019-03-18
@alexandrkupriyanov

In Androidmanifest.xml
leave lines like

<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />

only for the main activity.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question