refresh ActionBar - Android User Interface

Android examples for User Interface:ActionBar

Description

refresh ActionBar

Demo Code


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

public class Main {
    public static void refreshActionBar(Activity activity) {
        activity.getActionBar().setDisplayShowTitleEnabled(false);
        activity.getActionBar().setDisplayShowTitleEnabled(true);
    }//w  ww  .j  av  a2 s .  c om
}

Related Tutorials