Skip to content

Android library for draw shadow effect inside layout.

License

Notifications You must be signed in to change notification settings

RomanTcv/ShadowFrameLayout

Repository files navigation

ShadowFrameLayout

Android library for draw shadow effect inside layout.

How to get a Git project into your build:

Step 1. Add the JitPack repository to your build file, add it in your root build.gradle at the end of repositories:

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

Step 2. Add the dependency

dependencies {
  compile 'com.github.R12rus:ShadowFrameLayout:1.0.2'
}

How to use:

app:shadowTopHeight="6dp"
app:shadowBottomHeight="6dp"
app:shadowLeftHeight="6dp"
app:shadowRightHeight="6dp"

<r12.shadowframelayout.ShadowFrameLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:shadowTopHeight="6dp"
        app:shadowBottomHeight="6dp">

Example

Alt text