Chapter 15 Notes

Title: The Interactive Interface

Summary

So much ado about Labels and the text in them.

Programming Concepts Summary

Eight Views for this chapter.

Data Type

Views

Double

Slider, Stepper

Boolean

Switch

String

Entry, Editor, SearchBar

DateTime

DatePicker, TimePicker

Additional views covered later

Not covered:

Programs

Program SliderDemo

Page 372.

Concepts:

  1. Three public properties
    1. Minimum
    2. Maximum
    3. Value
  2. fires ValueChanged

  3. ValueChangedEventArgs has two values named OldValue and NewValue.

  4. recommend you add some padding at the left and right.

Pitfalls: Set the Maximum first, setting minimum greater than the default maximum causes an error. I.e. maximum > minimum == true.

Also: pitfalls.png

Classes:

  1. Slider

Program RgbSliders

3. TextFade 4. StepperDemo 5. SwitchDemo 6. CheckBoxDemo 7. EntryKeyboards 8. QuadraticEquations 9. JustNotes - This is the most basic program that Android starts with on their site... 10. SearchBarDemo 11. DaysBetweenDates 12. SetTimer