BEGINNER’S GUIDE TO MOBILE APP DEVELOPMENT IN ANDRIOD STUDIO
Figure 5.16. Changing the label of the button
5.3. Writing the Main Code of the App Since we don‟t need any other widget in the GUI, we can now continue to programming the app. We will do the programming in the MainActivity.java file. In order to open this file, navigate to the project explorer in Android Studio and then double-click on the MainActivity located under java com…..lightheadapp as shown below:
Figure 5.17. Opening the MainActivity.java file in Android Studio 98