Change application's starting activity

前端 未结 11 2115
温柔的废话
温柔的废话 2020-11-22 16:51

I have created the meat and guts of my application but I want to add a different activity that will be the starting point (sort of a log-in screen).

Couple questions

11条回答
  •  [愿得一人]
    2020-11-22 17:25

    Yes, you use the AndroidManifest.xml file. You can actually even have more than one launcher activity specified in your application manifest. To make an activity seen on the launcher you add these attributes to your activity in the manifest:

    
        
        
    
    

提交回复
热议问题