/android-edge-effect-override

Android Edge Effect Override

Primary LanguageJavaApache License 2.0Apache-2.0

Android Edge Effect Override

Enables you to override the color of the Edge Effects used in your application.

Author Simon Lightfoot

Since 30/10/2013

Version 1.4

Can be simply applied with either.

EdgeEffectOverride.createContextWrapper(context, color);

or...

EdgeEffectOverride.createContextThemeWrapper(context, themeResId, color);

If you want to apply the effect Activity wide add this method or similar to your Activity's class:

@Override
protected void attachBaseContext(Context newBase)
{
    super.attachBaseContext(EdgeEffectOverride.createContextWrapper(newBase,
        newBase.getResources().getColor(R.color.your_color)));
}

Example