android-edge-effect-override
android-edge-effect-override copied to clipboard
Android Edge Effect Override
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](https://raw.github.com/slightfoot/android-edge-effect-override/master/Example.png)