FileDocCategorySizeDatePackage
ActionBarDrawerToggleJellybeanMR2.javaAPI DocAndroid 5.1 API2334Thu Mar 12 22:22:56 GMT 2015android.support.v4.app

ActionBarDrawerToggleJellybeanMR2

public class ActionBarDrawerToggleJellybeanMR2 extends Object

Fields Summary
private static final String
TAG
private static final int[]
THEME_ATTRS
Constructors Summary
Methods Summary
public static android.graphics.drawable.DrawablegetThemeUpIndicator(android.app.Activity activity)

        final ActionBar actionBar = activity.getActionBar();
        final Context context;
        if (actionBar != null) {
            context = actionBar.getThemedContext();
        } else {
            context = activity;
        }

        final TypedArray a = context.obtainStyledAttributes(null, THEME_ATTRS,
                R.attr.actionBarStyle, 0);
        final Drawable result = a.getDrawable(0);
        a.recycle();
        return result;
    
public static java.lang.ObjectsetActionBarDescription(java.lang.Object info, android.app.Activity activity, int contentDescRes)

        final ActionBar actionBar = activity.getActionBar();
        if (actionBar != null) {
            actionBar.setHomeActionContentDescription(contentDescRes);
        }
        return info;
    
public static java.lang.ObjectsetActionBarUpIndicator(java.lang.Object info, android.app.Activity activity, android.graphics.drawable.Drawable drawable, int contentDescRes)


          
                
        final ActionBar actionBar = activity.getActionBar();
        if (actionBar != null) {
            actionBar.setHomeAsUpIndicator(drawable);
            actionBar.setHomeActionContentDescription(contentDescRes);
        }
        return info;