Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

andriod studio Lab Assignment 1: Unit Converter App (5%) Introduction The graphical user interface for an Android app is built using a hierarchy of View

andriod studio
image text in transcribed
Lab Assignment 1: Unit Converter App (5%) Introduction The graphical user interface for an Android app is built using a hierarchy of View and ViewGroup objects. View objects are usually i widgets such as buttons or text fields and ViewGroup objects are invisible view containers that define how the child views are laid out, such as in a grid or a vertical list. The main goal of this lab is to learn how to build a simple user interface. Objectives After completing Lab Assignment 1, you will be able to: Build a simple user interface. Recognize the different types of layouts in Android. Use input controls, such as text fields, spinners and buttons Respond to Click events and use toasts App Description In this lab, you will develop a Unit Converter App for temperature that converts Fahrenheit to Celsius and vise versa. The App starts with the main activity shown in Fig. 1 and allows the user to enter numeric values and choose the conversion type through spinners. Celsius = (Fahrenheit - 32). 5/9; Fahrenheit = (Celsius * 9/5)+ 32, Design Requirements The App should meet the following design requirements: 1. Use constraint Layout 2. Use TextViews for labels and result 3. Use Spinners for unit selection 4. Use EditText to enter the value 5. Save all strings in strings.xml If both units are the same, the app should respond with a toast message Value If no value entered, the app should respond with a toast message 6. Update results onClick in all cases CONVERT 7. Target device is Pixel 2- API 30 Results Fig 1 555 1000 Unit Converter From vanhat - To . La Vue O O

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

Relational Database Design With Microcomputer Applications

Authors: Glenn A. Jackson

1st Edition

0137718411, 978-0137718412

Students also viewed these Databases questions

Question

define the term outplacement

Answered: 1 week ago