Android Custom Views Masterclass
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
- Basic Android development experience
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:
Density Independent Pixels
Canvas and Paint
Line, rectangle, circle and free-form shapes
State preservation on configuration changes and process death
By 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!
Who this course is for:
- Android developers who use the classical Views UI framework
I'm a professional Android developer with a wide range of technical interests. After working in microelectronics industry in the past, I'm now constantly amazed at the ability of software developers to turn ideas into products.
I really like teaching and find exceptional satisfaction in explaining complicated ideas in simple words.
My courses are aimed at professional software developers who take their job seriously and aim at technical excellence.