When you click the spinner it has the options The small radio button cannot be m
ID: 3916295 • Letter: W
Question
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 TextExplanation / Answer
RADIO BUTTONS IN A RADIO GROUP THAT WILL SHOW THE VALUE OF RADIO BUTTON IN A TOAST
FOR THE TOAST MESSAGE
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.