« All Events
6 Pm – Intro To Java
September 16, 2021 @ 6:00 pm - 7:00 pm
Today We Do
- We added two TextViews (Fahrenheit and Celcius) on the top of the screen.
- We configured the Constraint Layout properly.
- When user click on the “convert” button, convert the Fahrenheit to the Celcius
Homework
- Add a Spinner UI component and place it above the Convert button. Spinner UI component can be found under Pallete > Containers > Spinner.
- Name this spinner id to “conversionType”
- Configure the convert button layout to 24dp and app:layout_constraintTop_toBottomOf=”@+id/conversionType”
- Configure the spinner ui component layout to 24 dp and app:layout_constraintTop_toBottomOf=”@+id/destinationTextField”
- The spinner will be blank now, but that’s ok, we will learn how to add elements into the spinner next week.