Quantcast
Channel: onOptionsItemSelected – CoderzHeaven
Browsing latest articles
Browse All 6 View Live

Image may be NSFW.
Clik here to view.

How to create OptionsMenu in ANDROID?, a simple example……

This is a simple example of creating options Menu in ANDROID. This menu can be seen by clicking on the “Menu Button” in ANDROID. Check out this example. package com.options; import...

View Article



Image may be NSFW.
Clik here to view.

How to start with ActionBar in Android?

With Android 3.0 Google eliminated the need of hardware menu button which is replaced by Action Bars. Here is a quick example on how to use ActionBars. First create a new project and name it...

View Article

Image may be NSFW.
Clik here to view.

Dynamically Adding, Removing, Toggling and Removing all ActionBar Tabs in...

Hi all.. In today’s post I will show you how to add actionbar tabs dynamically, remove one by one , hide and unhide them, removing all tabs at once etc. This simple java code does that. First create a...

View Article

Image may be NSFW.
Clik here to view.

ActionBar with Search Option and other options in Android.

I have already shown some examples with ActionBar. This is the example showing how to start with ActionBar in android. 1. Android removes the need of Menu button from devices with ActionBar. 2. How to...

View Article

Image may be NSFW.
Clik here to view.

Navigation Drawer Example in Android.

Navigation Drawer The navigation drawer is a panel that transitions in from the left edge of the screen and displays the app’s main navigation options. Displaying the navigation drawer Creating a...

View Article


Image may be NSFW.
Clik here to view.

Swipe Refresh ListView using ListFragment and SwipeRefreshListFragment in...

This demo shows How to use Swipe to Refresh in ListViews and ListViewFragments. You can download the complete Android Studio Source Code at the end of the Post. 1. Using ListFragment package...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images