JimmyChung1991 / android-edge-effect-override

Android Edge Effect Override

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Android Edge Effect Override

License:Apache License 2.0


Languages

Language:Java 100.0%