How to add Up button on Action Bar?

In the previous posts, we discussed how to add Action Bar and handle action items clicks. In this post, I will teach you how to add ‘Up’ or Navigation button on Action Bar.

Navigation button appears along with the icon in the action bar with the caret symbol.

For Ex: GMail Application with ‘Up’ button

Action Bar Up Button

Read More

How to handle clicks on Action Bar action items?

In the previous post, I discussed how to add Action Bar in Android applications. A simple demo application was also created with dummy Action Bar (which will not respond to clicks).

Prerequisite:

You must know how to add Action Bar in Android application before you proceed with this post. I recommend you to take a look at How to add Action Bar in Android Applications? post which will provide you insights on adding Action Bar.

In this post, I will teach you how to handle clicks on Action Bar action items. You need to create a simple Android application with Action Bar before you proceed further.

Read More

How to add Action Bar in Android Applications?

In this post, I will teach you how to add Action Bar in Android Applications. I will also discuss how to make the Action Bar work in lower SDK Android version (Backward compatibility).

Prerequisite:

You must know about Action Bar before you start creating it. I recommend you to take a look at What is Action Bar? post which will provide you basic information about Action Bar.

Adding the Action Bar in Android applcation involves three steps, they are:

  1. Create Android Application Project with Holo Theme
  2. Setting up the Action Bar for lower SDK versions
  3. Adding Action Buttons
Read More

What is Action Bar?

In this post, I will walk you through an important Android UI component – Action Bar. You will also find list of useful posts on Action Bar tutorial following this post. Before we start creating Action Bar, we should know What is Acton Bar and its uses.

Let us begin.

Read More

Minimum Required SDK – Target SDK – Compile With

To create a new Android Application Project in Eclipse, one has to fill in following details to proceed to next step in project creation.

  1. Application Name – Is an App name that appears to User
  2. Project Name – Is a Name of the project directory
  3. Package Name – Is an Application’s package name
  4. Minimum Required SDK – ???
  5. Target SDK – ???
  6. Compile With – ???
  7. Theme – It specifies Android UI style

We enter Application name, Project name and Package name but we usually leave default values for Minimum Required SDK, Target SDK and Compile With.

Read More
Page 3 of 712345...Last »

Pin It on Pinterest