Material – Part 8

Previously in this series we’ve looked at a number of different things that we can do to begin applying some principles of material design to our apps. In this concluding article in this series we’ll turn our attention to Activity transitions which are an important part of material design as they are designed to provide a smooth visual transition between different parts of the app which (if we do it right!) will provide the user with clear visual cues as to how they navigate through the app in response to their interactions.
Continue reading

Material – Part 7

In the previous article we began looking at how RecyclerView makes life an awful lot easier when dragging list items to alter their position. We looked at how we can generate a bitmap of the view that we want to drag, and promote it to an overlay layer so that we can move it around easily. In this article we’ll look at dynamically moving the other items in the list automatically as we drag.
Continue reading

Material – Part 6

Previously in this series we have applied basic Material design to a simple RSS reader app, and most recently we converted our ListView to the new RecyclerView. However, at the conclusion of the previous article, we had completed this migration but the net result in terms of UI was zero – the behaviour was exactly the same. This begs the question: “So why bother?” In this article we’ll look at dragging items in the list to change their order (which is not impossible, but can be pretty tricky using ListView), and see how much easier it is using RecyclerView.
Continue reading

Material – Part 4

Previously in this series we’ve looked at applying some aspects of Material design to our simple RSS app. In this article we’re going to look at replacing our ListView implementation with RecyclerView. While this won’t have any effect of the user, it will be an enabler which will allow us to apply some more material goodness which would be difficult to achieve with ListView.
Continue reading

Material – Part 2

In the previous article we got a simple app working which is a simple RSS viewer showing a list of recent Styling Android posts, and a detail view when you click on them. In this article we’ll look at applying some material design principles to the app and also try and make it backwards compatible using the appcompat library.
Continue reading

Palette – Part 4

When originally written this series concluded at the end of the previous article but, on the day that article was published, the full Lollipop SDK was released which included the full release of the Palette library. The Palette API which shipped with Lollipop changed slightly from the one which was released as part of the Android-L developer preview, so in this article we’ll look at the changes and update the code from Palette – Part 2 to work with the full released library.
Continue reading