In the previous series we looked at how we could get smoothScrollToPosition() working in a timely manner when using LinearLayoutManager with a large data set. An alternative UX approach to using smoothScrollToPosition() which may be applicable in some use-cases is to avoid smooth scrolling altogether and use the fast scroll behaviour which has long been…
Category: Shape Drawable
The Shape Drawable
More Drawables – Part 2
In the previous article we looked at a tiled background pattern. In this article we’ll look at how we can create a panel with a 3D effect border created using drawables.
Shape Drawables – part 3
In part 2 we got our basic dialog box look and feel working, but still had some tidying up to do. The first things that we need to do it to make the dialog box title look a bit more like a dialog box title. We need to define a new drawable for the background…
Shape Drawables – part 2
In part 1 we set up a basic dialog box project, but it was badly in need of some styling and it didn’t bear much resemblance to a dialog box. Let’s begin part 2 by making this actually appear in a centralised dialog-style window. To do this, we need to begin defining the “dialog” style…