Change the software interface content (Chapter 2)

1. Create a new SecondActivity (java class), create a new layout.xml (drag a button)

2. Open the AndroidManifest.xml file

3. In place of the light bulb, change the default loaded .MainActivity to .SecondActivity

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325223585&siteId=291194637