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
WebView
Picker
ListView
TableView
Not covered:
- Map
OpenGLView
Programs
Program SliderDemo
Page 372.
Concepts:
- Three public properties
- Minimum
- Maximum
- Value
fires ValueChanged
ValueChangedEventArgs has two values named OldValue and NewValue.
- 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:
Classes:
- 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