Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use java in Android Studio. Please show code and make app look like screenshots. Thanks! Requirements Create an application to draw a filled blue

Please use java in Android Studio. Please show code and make app look like screenshots. Thanks!

image text in transcribed

image text in transcribed

image text in transcribed

Requirements Create an application to draw a filled blue triangle on the screen. Add five menu items into the main menu, which are "Shape", "Color", "Shrink", "Enlarge", and "Reset". Create an Android project as usual Create a class that extends View, it will need a constructor since the super-class has no default constructor Change the activity to load the new view instead of using main.xml Override the onDraw method 5556 m ore 17:36 Barat Circle View Here are the major features: 1. When "Shape" menu item is chosen, the shape chooser dialog should be displayed. The choices are "circle", "rectangle", and "triangle". The default is "triangle". 2. When "Color" menu item is chosen, the color chooser dialog should be displayed. Seek bars select an amount of each component color. The number selected is displayed to the right of each seek bar Each time a seck bar is moved, the labels at the right are adjusted appropriately The background color of the TextView at the bottom of the application is set to the color given by the three chosen components. A table layout is used to arrange the seek bars and associated text views The text view uses fill width and fill height to take up all remaining space There should be a button to cause the addition to happen When user click the button, the circle color should be changed to the color given by the three chosen components 2. When "Shrink" or "Enlarge" menu item is chosen, the shape draw on the customized View should be shrank or enlarged. 3. When "Reset" menu item is chosen, the shape should be displayed using the initialized default settings Circle View Choose Color Color Shrink Enlarge Set Color Animation Settings 17:00 Circle View Choose Color 145 217 alue Set Color Requirements Create an application to draw a filled blue triangle on the screen. Add five menu items into the main menu, which are "Shape", "Color", "Shrink", "Enlarge", and "Reset". Create an Android project as usual Create a class that extends View, it will need a constructor since the super-class has no default constructor Change the activity to load the new view instead of using main.xml Override the onDraw method 5556 m ore 17:36 Barat Circle View Here are the major features: 1. When "Shape" menu item is chosen, the shape chooser dialog should be displayed. The choices are "circle", "rectangle", and "triangle". The default is "triangle". 2. When "Color" menu item is chosen, the color chooser dialog should be displayed. Seek bars select an amount of each component color. The number selected is displayed to the right of each seek bar Each time a seck bar is moved, the labels at the right are adjusted appropriately The background color of the TextView at the bottom of the application is set to the color given by the three chosen components. A table layout is used to arrange the seek bars and associated text views The text view uses fill width and fill height to take up all remaining space There should be a button to cause the addition to happen When user click the button, the circle color should be changed to the color given by the three chosen components 2. When "Shrink" or "Enlarge" menu item is chosen, the shape draw on the customized View should be shrank or enlarged. 3. When "Reset" menu item is chosen, the shape should be displayed using the initialized default settings Circle View Choose Color Color Shrink Enlarge Set Color Animation Settings 17:00 Circle View Choose Color 145 217 alue Set Color

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases And Information Systems 1 International Baltic Conference Dbandis 2020 Tallinn Estonia June 19 2020 Proceedings

Authors: Tarmo Robal ,Hele-Mai Haav ,Jaan Penjam ,Raimundas Matulevicius

1st Edition

303057671X, 978-3030576714

More Books

Students also viewed these Databases questions

Question

What is the purpose of multiplexing?

Answered: 1 week ago

Question

2. How should this be dealt with by the organisation?

Answered: 1 week ago

Question

explain what is meant by the term fair dismissal

Answered: 1 week ago