Archive for the ‘ActionBar’ Category

App UI / UX – Part 5

Friday, June 20th, 2014

Previously in this series we’ve looked at improving the ActionBar behaviour of our temperature app, but there’s another annoyance that we can fix by tinkering with the ActionBar: When the user performs a bluetooth device discovery scan there is no visual indication that the scan is in progress, and more importantly when the scan completes. In this article we’ll add a simple animation to the refresh ActionBar item to provide this visual indication that a scan is occurring.

App UI / UX – Part 4

Friday, June 13th, 2014

Previously in this series we’ve looks at improving the UI of our app to display temperature and humidity obtained from a TI SensorTag device, but in this article we’ll turn our attention to the UX.

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.

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.

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.

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.

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.

Navigation Drawer – Part 3

Friday, May 31st, 2013

In the previous article we began hooking our navigation drawer up to the ActionBar by connecting up the Up/Home button. In this concluding article we’ll change the ActionBar title, and hide any content-specific menus when the drawer is open.

Navigation Drawer – Part 2

Friday, May 24th, 2013

In the previous article we got a basic navigation drawer working. In this article of this series, we’ll begin hooking it up to the ActionBar.

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.