In the previous article we put together a simple utility which shows the display characteristics, and showed this working on various devices. However the main point of this series is to cover the use of multiple displays, os in this part we’ll begin looking at that functionality.
Tag: androiddev
Multiple Displays – Part 1
At the time of writing, Android 4.2 has just been released and this contains an interesting new feature which enables us to independently control multiple displays. In this series of articles we’ll look at the new APIs and see how we can control different displays independently.
ViewPager Redux – Part 3
In the previous article we got a basic implementation of the PageTabStrip working with our ViewPager. In this article we’ll look at applying some styles to it.
ViewPager Redux – Part 2
In the previous article we revisited the ViewPager code from an earlier series, and brought it up-to-date to use the latest version of Jake Wharton’s ViewPagerIndicator library. In this article we’ll look at an alternative to Jake’s library.
ViewPager Redux – Part 1
In September 2011 I began a series on Styling Android about ViewPager and Jake Wharton’s ViewPagerIndicator library. This proved to be a very popular series, but the comments on those articles show that there has been some changes in Jake’s library which means that the code in the original articles no longer works with the…
Pull to Refresh – Part 2
In the previous article we started wiring up Chris Banes’ excellent Pull to Refresh library. We have got the “pull” part working, but it does not yet perform the “refresh” part of the process. In this article we’ll continue wiring things up, and also look at how we can customise things a little.
Pull to Refresh – Part 1
On 26th October 2012 I made a presentation about Android Layouts at DroidCon in London. While I was there I took in a great talk by Scott Alexander-Bown titled entitled “Write Less / Do More” in which Scott spoke about some third-party libraries for Android. One of these is Chris Banes‘ Pull-to-Refresh library, and in…
Styling the ActionBar – Part 6
In the previous article we got the styling of our ActionBar almost complete – all that’s left to do is apply a style to the ActionMode. In this article we’ll do precisely that.
Styling the ActionBar – Part 5
In the previous article we saw some of the difficulties that we can face when applying styles to the ActionBar. In this article we’ll look at the final control on the main ActionBar: The search control.
Styling the ActionBar – Part 4
In the previous article in this series we applied a style to the navigation Spinner and its associated drop down ListView, but found that this style did not get applied to the Spinner that we added manually using the actionViewClass attribute of the MenuItem definition in our menu XML. In this article we’ll find out…