Now that you have created the Hello World app, let's explore how to make it your own.
- [Instructor] The starting point of our app is going to be the Hello World app. I've loaded the Hello World app from the Exercise files. Let's go ahead and run it and see how it looks. Click on the green triangle here. Choose an emulator and choose Use same selection for future launches, so that we don't have to keep seeing this screen. Click Okay. Our Hello World app says Hello to us. How do we do that? Let's quickly take a look at our XML file. Go back to Main Activity. On line 10 command click on R.layout.activity_main. This will bring us to the XML file. Our app has a single view, called TextView, and in there, on line nine, there is android:text, which is showing a word. Again, you can command click to see where it is defined. You can see on line three, it says Hello. This is how we are showing the word Hello in our single screen app. Next, we are going to change Hello to a string we like. Instead of Hello World, we are going to change this app to show a favorite word. In the file strings.xml, go ahead and change the app name to My favorite word. Then change the string word into your favorite word. Mine is going to be Petrichor. Run the app. Here we go. We have changed it so that, instead of showing Hello, it's showing your favorite word.