Posts Tagged ‘actionbar’

ActionBarCompat – Part 5

Friday, November 8th, 2013

Previously in this series we have worked through porting the existing ActionBar tutorial code to work with ActionBarCompat and therefore be compatible with Android API 7 and later. In this concluding article of the series we’ll compare the example app on both API 7 and API 18 devices to see the differences in UI that our users will experience.
(more…)

ActionBarCompat – Part 4

Friday, November 1st, 2013

In the previous article we began converting our code to work with ActionBarCompat, but there are still some further changes required to get things working. In this article we’ll complete the code migration.
(more…)

ActionBarCompat – Part 3

Friday, October 25th, 2013

In the previous article we converted our resources for the code from the previous ActionBar series to use ActionBarCompat. In this article we’ll have a look at the Java code and begin looking at the changes that we need to make it backwardly compatible to API level 7 using ActionBarCompat.
(more…)

ActionBarCompat – Part 2

Friday, September 6th, 2013

In the previous article we began converting the existing project from the Styling Android series on ActionBar to use the ActionBarCompat library. Once we had got a Gradle build working, we found that we had a lot of resource errors once we switched the compiler to compile against API 7. In this article we’ll look at resolving those errors.
(more…)

ActionBarCompat – Part 1

Friday, August 30th, 2013

Back in August 2012, the first article in a series of 12 was posted to Styling Android which provided an in-depth look at the ActionBar. It had been rumoured for a while before I/O 2013 that Google were working on a compatibility library for ActionBar, and this was duly announced at I/O. In this series of articles we’ll look at back-porting the code from the previous ActionBar series to use the new compatibility library.
(more…)

Styling the ActionBar – Part 6

Friday, October 26th, 2012

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.
(more…)

Styling the ActionBar – Part 5

Friday, October 19th, 2012

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.
(more…)

Styling the ActionBar – Part 4

Friday, October 12th, 2012

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 why.
(more…)

Styling the ActionBar – Part 3

Friday, October 5th, 2012

Previously in this series we have applied a few simple styles to the ActionBar. In this article we’ll have a look at styling the overflow menu and the Navigation DropDown.
(more…)

Styling the ActionBar – Part 2

Friday, September 28th, 2012

In the previous article we used Jeff Gilfelt’s Android ActionBar Style Generator to create some assets and we set up our base Theme. In this article we’ll look at building up our styles to get the ActionBar looking how we would like it.
(more…)