Published 11/2023
MP4 | Video: h264, 1920×1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 3.97 GB | Duration: 5h 3m
Create customized, beautiful, reusable and maintainable Views for your Android applications!
What you’ll learn
Get familiar with the low-level drawing APIs like Canvas, Paint, etc.
Draw custom shapes using lines, rectangles, circles and paths
Animate the contents of your Custom Views
Intercept user interactions and react to drag, scale and rotate gestures
Properly utilize View Lifecycle callbacks
Requirements
Basic Android development experience
Description
By implementing Custom Android Views, you can create unique user interfaces that go beyond standard Android components. Whether you need a simple geometric shape or a complex interactive widget with animations in your Android app, Custom Views can handle all that, and more. There are truly no limits!Benefits of Custom Views:Simpler Code: Replace multiple XML files and drawables with one Custom View class, reducing clutter in your project.Reusable: A Custom View’s logic resides in one class, making it easy to use again in your app or other projects.Efficient: Often, creating a custom View is quicker and more straightforward than combining multiple standard components.Though it might sound challenging at first, creating custom Views is easier than you think. In this course, I’ll take you through every step, making sure you understand both the basics and the advanced concepts. Furthermore, you’ll get to practice everything we’ll discuss with hands-on exercises to solidify your skills.Topics covered in this course:Coordinate SystemsDensity Independent PixelsCanvas and PaintLine, rectangle, circle and free-form shapesTextUser interactionsAnimationsGestures recognitionMatrix transformationsState preservation on configuration changes and process deathand moreBy the end of this course, you’ll feel confident using custom Views in your Android apps, adding a versatile tool to your toolbox and enhancing your productivity as an Android developer. So, if you use the classical Views framework, this course is for you!
Overview
Section 1: Introduction
Lecture 1 Tutorial Application
Lecture 0 Udemy Review System
Lecture 2 Course Exercises
Section 2: Custom View Basics
Lecture 3 Custom Views Basics Introduction
Lecture 4 Custom View Scaffold
Lecture 5 Coordinate System
Lecture 6 Density Independent Pixels (DIP)
Lecture 7 Basic Shape: Line
Lecture 8 Basic Shape: Rectangle
Lecture 9 Basic Shape: Circle
Lecture 10 Exercise 1
Lecture 11 Solution Exercise 1
Lecture 12 View Positioning
Lecture 13 Touch Handling
Lecture 14 Custom View Internal Dragging
Lecture 15 Exercise 2
Lecture 16 Solution Exercise 2
Lecture 17 Exercise 3
Lecture 18 Solution Exercise 3
Lecture 19 View State Preservation on Config Change and Process Death
Lecture 20 Exercise 4
Lecture 21 Solution Exercise 4
Lecture 22 Custom View Basics Summary
Section 3: Animations
Lecture 23 Animations Introduction
Lecture 24 Manual Animation
Lecture 25 ObjectAnimator Class
Lecture 26 Animation Inside a Custom View
Lecture 27 Path Class
Lecture 28 Path Animation
Lecture 29 Exercise 5
Lecture 30 Solution Exercise 5
Lecture 31 Exercise 6
Lecture 32 Solution Exercise 6
Lecture 33 Animations Summary
Section 4: Text
Lecture 34 Text Introduction
Lecture 35 Auto Scaling Text
Lecture 36 Path Arc
Lecture 37 Exercise 7
Lecture 38 Solution Exercise 7
Lecture 39 Self-Measurement Using onMeasure()
Lecture 40 Exercise 8
Lecture 41 Solution Exercise 8
Lecture 42 Text Summary
Lecture 0 Matrix Transformations Introduction
Lecture 0 Matrix
Lecture 0 Using Matrix for Translation
Lecture 0 Using Matrix for Rotation
Lecture 0 Using Matrix for Scaling
Lecture 0 Matrix Concatenation (Multiplication)
Lecture 0 Canvas Transformations
Lecture 0 Exercise 9
Lecture 0 Solution Exercise 9
Lecture 0 GestureDetector
Lecture 0 ScaleGestureDetector
Lecture 0 RotationGestureDetector
Lecture 0 Exercise 10
Lecture 0 Solution Exercise 10
Lecture 0 Matrix Transformation and Gesture Recognition Summary
Android developers who use the classical Views UI framework
Password/解压密码www.tbtos.com