/ShadowFactory

Helper class to add colorful "shadow like" background

Primary LanguageJava

ShadowFactory

Android library that lets add colorful "shadow like" background to Views

Integration

you can add this Lib from GitPack.io

Gradle: Add GitPack in your root build.gradle

allprojects {
    repositories {
        ...
        maven { url "https://jitpack.io" }
        }
    }

Then add the dependency

dependencies {
    ...
    compile 'com.github.yamin-elmakis:ShadowFactory:v2'
}

Usage

	Shadow.Builder.init(context)
		.shadowAll(shadowSize)
		.blur(blurSize)
		.backgroundColorRes(android.R.color.black)
		.shadowColorRes(R.color.grey)
		.build().set(view);

Main Screen