Example usage for android.graphics.drawable VectorDrawable applyTheme

List of usage examples for android.graphics.drawable VectorDrawable applyTheme

Introduction

In this page you can find the example usage for android.graphics.drawable VectorDrawable applyTheme.

Prototype

@Override
    public void applyTheme(Theme t) 

Source Link

Usage

From source file:com.wnafee.vector.compat.AnimatedVectorDrawable.java

@Override
public void applyTheme(Theme t) {
    super.applyTheme(t);

    final VectorDrawable vectorDrawable = mAnimatedVectorState.mVectorDrawable;
    if (vectorDrawable != null && vectorDrawable.canApplyTheme()) {
        vectorDrawable.applyTheme(t);
    }// w w w .  j a  v a 2s. c om
}