Question: Automatic Zoom # You must load your Games.java file from Lab Assignment 2 into the project and use the MadLibs function from there 1. Right



Automatic Zoom # You must load your Games.java file from Lab Assignment 2 into the project and use the MadLibs function from there 1. Right click on the package name where the MainActivity java file is. Android Y app 03 ifests com.example.game MainActivity com.example.gamesapp (androidTest) com.example.gamesapp (test) 2. Choose New -> Java Class New Java Class generated/ava Kotlin File/Class a Android Resource File xx u Android Rescurce Directory r in res Link C++ Project with Gradie Gradle Scripts x Cut a Copy C "In Sample Data Directory Copy Path Copy Reference coxc Scratch File D Paste xv D Package Find Usages Find in Path... Replace in Path. Analyze TF7C++ Class 02EF C/C++ Source File C/C + + Header File : 03tR Image Asset Vector Asset Refactor Build Sync 3. 4. Enter the name of the class (Games) Paste in your existing code (from Lab Assignment 2) to the new file. Homework Assignment nCreate an app for your Mad Libs story from Lab Assignment 2 SCREENS DESIGN 7 The main activity will have: 7 as many Edit Text's as needed for user input (the blanks in the story) an OK Button (a button with the text "OK" on it). 7 The second activity will only have a Text View where you will display the story. BEHAVIOR 7 The user will enter values on the the text fields of the first activity and click the OK button. EditText's must be sent to the second activity as a parameters on the Intent receives from the first activity) 7 When the button is clicked, the second activity is started. The text on the 7 The second activity will display the story on the Text View (using the values it ADLIBS public static String madlibs(String adjective,String plural N1, String plural N2 ,String exclamation, String Noun) [ String madlibText "Getting the batter out should have been as + adjective +", as the first baseman's " + plural-N1+". Cries of \"Oh nol\"and exclamation+ " were heard throught the stands. The player on third raced home and scored the wining Noun ". To this day ," adjective+ "baseball fans still talk about the game and the " + adjectiveloss for the Red " + plural N2 return madlibText;) ALL INTDANIRO STUDID
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
