Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Creating an App that calculates the Shipping Charge, I have the following so far When you click the spinner it has the options The small

Creating an App that calculates the Shipping Charge, I have the following so far image text in transcribed

When you click the spinner it has the options

The small radio button cannot be more than 5lb, and the large cannot be more than 7. The shipping rate is 2.0 for the small, but 2.5 for the large. If the user picks the Large Radio button and their weight entered is too high- then a Toast messag appears to tell them the weight they've selected is too large.

This is using android studio, Java.

? MainActivityjava x | activity-main.xml mstrings.xml Nexus 4 ? (? 35% (> A Attributes Component Tree 28 ? , ConstraintLayout Ab txtWeightOfProduct (EditText) (Number) A ? O radioGroup horizontal) O radLarge (RadioButton) - "Large" O radSmall (RadioButton) - "Small" spn Product (Spinner) btnCalc (Button) - "Calculate" A A 8:00 Ab tvResult TextView) ShippingCharge 32 Weight of Product 52 52 ? Large Large Palette Small Small Ab TextView Button ImageView Common Text ButtonsRecy Widgetsfragment> LayoutsScrollView Containers Google Legacy 32 32 Item 1 clerView Calculate CALCULATE Switch 0 IDE and Plugin Update Android Studio is ready Design Text

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