Question: In Android studio Instructions: Refactor the last lab that you worked on to create a 2-activity application along with a custom adapter. Your application will

In Android studio

In Android studio Instructions: Refactor the last lab that you worked on

Instructions: Refactor the last lab that you worked on to create a 2-activity application along with a custom adapter. Your application will allow a user to select a color from a Spinner on one activity, and once selected, launch the second activity and set the background of the new activity's layout to the selected color. Once completed, you will add an icon to your application and generate a signed APK that is ready to be distributed Section1 1. Create a new project with 2 activities - PaletteActivity (your Main), and CanvasActivity (your secondary activity). Each activity should have a unique title/label (see illustration below) 2. PaletteActivity must contain a Spinner that will use a custom adapter to present to the user a set of color options. The views generated by the custom adapter should be simple TextViews, where the text value is the name of the color, and the background of the text view should be the color specified by the name. Your spinner and adapter should function exactly the same as your previous assignment. 3. When a user selects a color from the Adapter View, the second activity should be launched and this new activity's layout background should be set to the selected color (see illustration below) 4. Commit your project to GitHub ILLUSTRATION 12:02 11:5 Palette Activity Canvas Activity After selection, new Activity is launched

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!