Posts Tagged ‘ menu ’

Creating a contextual menu bar ( contextual action mode ) for a listview in Android

July 25, 2012
By
Contextual Action Mode

The contextual menu bar (contextual action mode) is introduced in Android 3.0 ( HoneyComb ). A contextual menu bar is a horizontal bar displayed at the top of an activity and can contain various menu item actions. In the article titled  “Creating a contextual menu bar ( contextual action mode ) for a single...

Read more »

Creating a contextual menu bar ( contextual action mode ) for a single view in Android

July 25, 2012
By
Contextual Action Bar

Beginning with Android 3.0, a new UI feature is introduced which is called contextual action mode. In this mode, a contextual menu will be displayed at the top of the screen in a horizontal bar with a set of menu actions. These menu actions can be acted on a single view of an activity...

Read more »

Creating a floating contextual menu in Android

July 24, 2012
By
floating_contextual_menu_context_featured

In this article we will see how to create a floating contextual menu in an Android application.In the main activity, a list of country names will be listed in listview. On long pressing an item, the contextual menu will be appeared. There will be three menu items in the context menu such as “Edit”,...

Read more »

Creating Custom Action Provider in Action Bar

July 22, 2012
By
actionbar_customactionprovider_featured

In the article titled “Adding Custom Action View to Action Bar in Android“, we have seen how to add widgets such as edittext in to actionbar. In this article we will do the same thing but in a different method that is using action provider. The  advantage of using action provider instead of action...

Read more »

Using ShareActionProvider in Action Bar

July 21, 2012
By
actionbar_shareaction_featured

In this article we will create a share button in the action bar of the MainActivity screen. For this we will use ShareActionProvider available in Android. In order to create the built in share action, we have to do two things. First, we need to create a menu item with property actionProviderClass having the...

Read more »

Adding Custom Action View to Action Bar in Android

July 20, 2012
By
actionbar_actionview_search_featured

In an Action bar, action items are buttons in nature.  Instead of buttons, we can include other views such as edittext or other simple widgets by which the functionalities of the action items can be extended. In this article we will create an application which will display an edittext on the action bar when...

Read more »

Adding Action items and Overflow menu items to Action Bar in Android

July 19, 2012
By
actionbar_menu_landscape_featured

In this article we will create an application which will add action items and overflow menu items to action bar. This application is developed in Eclipse 3.7.2 and tested in Android api level 14. If you want to add actions items, overflow menu items  and action bar in pre Honeycomb (API level < 11...

Read more »

Be friend at g+

Subscribe for Lastest Updates

FBFPowered by ®Google Feedburner