Android App Development: Two icons getting created and I only need one

后端 未结 10 2223
情书的邮戳
情书的邮戳 2020-12-14 00:14

I am writing an Android App that has one main activity and one subactivity. When I install the app on my phone to test it out, I get two icons instead of one. The first ic

10条回答
  •  鱼传尺愫
    2020-12-14 00:51

    You have

        
            
            
        
    

    along with

    android:icon="@drawable/icon.png"
    

    set for both activities.

    What that means is that this is a launcher icon, put me on the home screen. Only set those for the activit(ies/y) you want on the home screen.

提交回复
热议问题