Architecture Components were announced at Google I/O 2017 and provide some frameworks to help developers create more maintainable and more robust apps. The architecture components don’t specifically do anything which will prevent apps from crashing or otherwise misbehaving, but they offer some frameworks which encourages decoupled components within the app which should lead to better…
LocationServices
Many apps offer functionality based upon the location of the device running the app. The tools for obtaining device location have been around since API 1, but they have evolved a little over the years – one big change was moving them in to Play Services. However, this change came with a cost: Establishing a…
AnimatedStateListDrawable
Often we’ll receive designs which require us to customise the look of some of the standard Android controls. One problem with this is that when we override the default look of these controls we lose some of the nice state transitions that we get in newer versions of Android. In this article we’ll take a…
Downloadable Fonts
Fonts have received a lot of love from Google in Android O. We’ve already looked at the new custom fonts support which is now backwardly compatible thanks to its inclusion in support library compat v4. However there is another facet to the new fonts support which is really useful: Downloadable Fonts. In this article we’ll…
Adaptive Icons and more
One of the new features in the Android O developer preview is Adaptive Icons. While it will be a long time before may of us will be in a position to specify minSdkVersion 26, this is actually one of those feature that we can implement now and it will benefit users as and when they…
Fonts (revisited)
In a previous series we took an early look at the new font support coming in Android O. At Google IO 2017 the new font support was formally announced, and in this article we’ll take a look at what has changed since the original series.
ViewPagerAnimator – The Internals
Earlier this month I released a new lightweight, yet extremely powerful ViewPager animation library named, unsurprisingly ViewPagerAnimator. ViewPagerAnimator is designed to animate arbitrary values as the user navigates between pages within a ViewPager, and will precisely follow the motion of h finger. There is nothing groundbreaking in terms of the techniques I’m using to do…
ConstraintLayout.com
It is with a huge amount of excitement that ConstraintLayout.com is officially launched. ConstraintLayout.com is a community-sourced documentation hub all about ConstraintLayout. While there is lots of documentation and plenty of blog posts about ConstraintLayout, it is such an immense and powerful beast, that a few of us felt that a dedicated resource to collect…
ViewPagerAnimator – The Advanced Stuff
Earlier this month I released a new lightweight, yet extremely powerful ViewPager animation library named, unsurprisingly ViewPagerAnimator. ViewPagerAnimator is designed to animate arbitrary values as the user navigates between pages within a ViewPager, and will precisely follow the motion of h finger. There is nothing groundbreaking in terms of the techniques I’m using to do…
ViewPagerAnimator – The Basics
I am delighted to announce the release of a new lightweight, yet extremely powerful ViewPager animation library named, unsurprisingly ViewPagerAnimator. ViewPagerAnimator is designed to animate arbitrary values as the user navigates between pages within a ViewPager, and will precisely follow the motion of h finger. There is nothing groundbreaking in terms of the techniques I’m…