Talk from Londroid. Learn about some of the new features and improvements that we have released in v25 of the Android Support Library.This post has been updated multiple time since first publishing. The content is
correct as-of March 13th 2019.
The DayNight functionality in AppCompat allows your app to easily switch between
a dark ⚫ and light ⚪ theme. This has many benefits for your users, especially if
you have a content-heavy app (such as a Reddit client).
How do I use it?
You need to change your theme to extend from one of the DayNight variants, and
then call one method to enable the feature. Here’s an example theme declaAs you may have seen on the Support Lib 23.2.0 blog post, we now have compatible
vector drawable implementations in the support libraries: VectorDrawableCompat
and Animated VectorDrawableCompat.
Those are implemented as standalone pieces of functionality. As we know that
developers want to use them from resources, we’ve added support for vector
drawables directly into AppCompat.
There are various reasons for this integration, including:
* Allows developers to easily use <vector> drawables onIt’s been a while since my last post so here we are. You may have seen that the
22.1.0 support libraries were released yesterday, which is probably the biggest
non-platform release we’ve done with the support library.
Before we go any further, have a read of Ian’s official release blog post
. It outlines all of the new features in this release, for all of the libraries.
In this post I will concentrate more on tThe Android 5.0 SDK was released today and among the many tasty updates,
includes new UI widgets and theming abilities to create material design style
apps. To enable you to bring your updated designs to older platforms, we have
also updated the support libraries including AppCompat. In this post I’ll
outline what’s new in AppCompat and how you can use it in your app.
AppCompat (aka ActionBarCompat) started out as a backport of the Android 4.0