Using transitions with fragments has a few gotchas, this blog post looks at how to get it all working.If you’ve started using Room (and you should if you haven’t), there’s a high probability that you will need to store + retrieve some kind of date/time.A look at how we added fling support to nested scrolling in Android, to AppBarLayout work in all scenarios.A look at how this site is built using Jekyll, and automatically deployed to Firebase Hosting.Let me tell you a story about something I spent a fair amount of time debugging last year. I had totally forgot about it until the other day when someone mentioned something they were seeing with Snackbar, and it turned out to be the same thing.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 tAndroid 5.0 Lollipop brings with it new functionality which allows you to
specify an override theme for a View (and any descendents). Let’s have a look at
how and why you would use it.
You’ve probably already been using this functionality for a while without
Think about the Light.DarkActionBar theme for a second. It’s a light theme for
your content (background is light and the foreground is dark), but the action
bar use a dark theme (dark backgroun