get ActionBar from Activity - Android User Interface

Android examples for User Interface:ActionBar

Description

get ActionBar from Activity

Demo Code


//package com.java2s;
import android.app.ActionBar;
import android.app.Activity;

public class Main {
    public static ActionBar getActionBar(Activity act) {
        return act.getActionBar();
    }/*from  w ww  .j av  a  2s  . c  o m*/
}

Related Tutorials