Tag: android
-
Resources for Learning OpenGL - An Android Developers Guide
In 2018, I started my journey of learning OpenGL, we were migrating our app from using the Android Canvas system to using the more flexible (but indeed more complex) OpenGL ES. OpenGL ES is a cross-platform graphics API that specifies a standard software interface for 3D graphics processing hardware. OpenGL allows you to build interesting…
-
AsyncAndroid: Getting Started with MotionLayout
Wow, what a weird time to be alive, huh? I’m writing this on Day 29 of the lockdown in South Africa due to the COVID-19 pandemic. I’m not sure I have the right words to address the current situation, nor the expertise to talk about it. However, I am good at talking about Android and…
-
Become a Master Builder with these Android Dev Tools
Day-to-day tasks as an Android Developer can consist of varying jobs to complete your work effectively. Whether it is making sure your network requests are correct or ensuring pixel-perfect screens, there are a few tools that have made my day-to-day development easier. These are some of my favourites: Vysor Vysor is my go-to tool for…
-
Lessons Learnt with Kotlin: Extension Functions
At Over, we’ve been using Kotlin since we started the new Android version of the app in November 2018. From day one, we’ve been excited to try the language features and leverage them to build our mobile design app. One of the features we were most excited about was extension functions. What is an Extension…
-
Android: Using Physics-based Animations in Custom Views (SpringAnimation)
Learn how to use physics-based animations in a Custom View implementation for natural looking animations in your app. You’ve used all the standard Android animation techniques, but you find that they sometimes just don’t give you that extra sparkle you are looking for. You’ve wondered how to get more natural looking animations and had no luck…
-
Android MotionLayout Tutorial – Collapsing View
MotionLayout is a layout class that extends from ConstraintLayout. MotionLayout has all the features of ConstraintLayout. On top of that, it also provides the ability to easily animate changes to your UI, without needing to know much about UI interactions and the Android Animation Frameworks. Take for example this subtle animation of a view being…
-
Android ConstraintLayout 2.0: ConstraintLayoutStates
With the introduction of ConstraintLayout 2.0, there is an interesting new feature called ConstraintLayoutStates. ConstraintLayoutStates allow you to create a layout with different states and switch between them easily. Typically, most layouts contain a loading state, initial state, end state and error state. Using ConstraintLayoutStates, there is a clean way to switch between these different…
-
ConstraintLayout 2.0: ImageFilterView
Whilst browsing through the various examples online with the new ConstraintLayout 2.0, I stumbled upon ImageFilterView. This got my attention immediately and I decided to investigate further. An ImageFilterView allows you to perform some common image filtering techniques on an ImageView, including saturation, contrast, warmth and crossfade. If you have tried to implement these image filters before, you may have…
-
Android ConstraintLayout — Build a layout from Scratch + Q&A — Sunday (26 Nov) 5PM GMT+2 [Live Stream]
I’ve seen quite a lot of misuse/misunderstanding of how to use ConstraintLayout practically. I was contemplating the best way to talk about these common “Don’ts” that I see people do. I’ve decided to try do something a bit different than a blog post. I’ll be live streaming on Sunday, 26 November at 5PM GMT+2 (that…
-
Android Accessibility – Making your app Switch Access Compatible
I received an email a few days ago, where I had a request for the Book Dash Android app to support “Switch Access”. To be honest, I had no idea what this email meant. My first thought was, “Hey, this will never run on a Nintendo Switch” but I realised that this probably wasn’t what…