Example usage for android.app ActionBar onConfigurationChanged

List of usage examples for android.app ActionBar onConfigurationChanged

Introduction

In this page you can find the example usage for android.app ActionBar onConfigurationChanged.

Prototype

public void onConfigurationChanged(Configuration config) 

Source Link

Usage

From source file:android.support.v7.app.AppCompatDelegateImplV7.java

@Override
public void onConfigurationChanged(Configuration newConfig) {
    // If this is called before sub-decor is installed, ActionBar will not
    // be properly initialized.
    if (mHasActionBar && mSubDecorInstalled) {
        // Note: The action bar will need to access
        // view changes from superclass.
        ActionBar ab = getSupportActionBar();
        if (ab != null) {
            ab.onConfigurationChanged(newConfig);
        }/*  www.  j  a va  2  s  .  c o  m*/
    }
}