Mono for Android by example: The action bar

My boss has lend me a Galaxy Tab which I am (with a greatful heart I can tell you) punishing with some Mono for Android tryouts. Although I wasn\u2019t a big fan of Android Tablets at first I\u2019m starting to like it now I know what I can do to it. There\u2019s a lot more pixels I can use, so it opens up a whole new universe of possibilities.

In this article I\u2019m going to show you one of the latest discoveries I did on the tablet. A lot of developers already know this feature, called the action bar. It\u2019s a user interface pattern widely applied in the Android ecosystem. On versions of Android prior to v3.0 you needed to build the action bar yourself using a custom linear layout and a bunch of code. Very ugly and hard to maintain. But version 3.0 and up however support the action bar out of the box with a rich set of features. It makes things a lot easier, that\u2019s for sure.

What is the action bar<\/h2>
So what is the action bar? It is the top section of the app on the tablet (or the phone if you have a phone that supports Android icecream sandwich). The action bar can be used to give information about the context the user is at now. It also provides common actions used throughout the app.

There\u2019s a lot of stuff you can do with the action bar. For example the following set of controls are supported on the action bar:

About this article

  • Published:
  • Tags:

Share this post

About the author

Willem Meints

Developing mobile apps, Web 2.01 proof and CSS 3.x enabled. And all that as a human being.

About this weblog

This blog is my personal spot where I talk technology. I love to hack and design pieces of technology.

I update this spot on a regular basis, to share some of my ideas and whacky contraptions for you to enjoy.

RSS Feed