Custom Views in Android
Custom View Basics
Tutorial Application
Course Exercises
Course Introduction
Custom View Basics Introduction
Custom View Scaffold
Coordinate Systems
Density Independent Pixels (DP)
Basic shape: Line
Basic Shape: Rectangle
Basic shape: Circle
Exercise 1
Solution Exercise 1
View Positioning
Touch Handling
Custom View Internals Dragging
Exercise 2
Solution Exercise 2
Exercise 3
Solution Exercise 3
State Preservation on Config Changes and Process Death
Exercise 4
Solution Exercise 4
Custom View Basics Summary
Animations
Animations Introduction
Manual Animation
ObjectAnimator Class
Internal Animation in a Custom View
Path Class
Path Animation
Exercise 5
Solution Exercise 5
Exercise 6
Solution Exercise 6
Animations Summary
Text
Text Introduction
Auto Scaling Text
Path Arc
Exercise 7
Solution Exercise 7
Self-Measurement using onMeasure()
Exercise 8
Solution Exercise 8
Text Summary
Matrix Transformations and Gesture Recognition
Matrix Transformations Intoduction
Matrix
Using Matrix for Translation
Using Matrix for Rotation
Using Matrix for Scaling
Matrix Concatenation (Multiplication)
Canvas Transformations
Exercise 9
Solution Exercise 9
GestureDetector
ScaleGestureDetector
RotationGestureDetector
Exercise 10
Solution Exercise 10
Matrix Transformations and Gesture Recognition Summary
Previous Lesson
Next Lesson
Density Independent Pixels (DP)
Custom Views in Android
Density Independent Pixels (DP)
Previous Lesson
Back to Course
Next Lesson