Application Programming Hend Alkittawi Android Development Building Our First Android App OUR FIRST ANDROID APPLICATION - What do you think we need to build this app? Rowdy Quiz Trivia Question Here True False Next OUR FIRST ANDROID APPLICATION - What do you think we need to build this app? - - Model Objects - Question.java - QuizBank.java View Objects - - Rowdy Quiz layout xml file Controller Objects - Trivia Question Here MainActivity.java True False Next OUR FIRST ANDROID APPLICATION Rowdy Quiz Trivia Question Here True False Next OUR FIRST ANDROID APPLICATION - Model Objects - After you create the project in Android Studio, create a model package - In edu.usta.cs3443.projectname - right-click on the package - select New > Package - set the package name to model - create/place the model classes within the model package OUR FIRST ANDROID APPLICATION - View Objects - layout xml file - Set up the layout (xml or drag and drop) - Rowdy Quiz LinearLayout (Vertical) - TextView - for Rowdy Quiz - TextView - for Trivia Question - LinearLayout (Horizontal) - - Button - for True - Button - for False Trivia Question Here True False Button - for Next Next TIPS FOR WORKING WITH LAYOUT XML FILES - Views may have an integer id associated with them. These ids are typically assigned in the layout XML files, and are used to find specific views within the view tree. - Add id attributes for views that your code will be interacting with TIPS FOR WORKING WITH LAYOUT XML FILES - Add strings to the string.xml resource file - res > values > strings.xml Rowdy Quiz False True Next - Use these strings with your views