Skip to content

Commit

Permalink
Merge pull request #3 from R12rus/master
Browse files Browse the repository at this point in the history
left and right shadow effect has been added
  • Loading branch information
RomanTcv committed Aug 6, 2017
2 parents 9d5ff28 + 4307c8a commit 26203c5
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,33 @@
# ShadowFrameLayout
Android library for draw shadow effect inside layout.
<br /> <br />
**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:0.0.2'
}
```

# **How to use:<br />**
app:shadowTopHeight="6dp"<br />
app:shadowBottomHeight="6dp"<br />

```
<r12.shadowframelayout.ShadowFrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:shadowTopHeight="6dp"
app:shadowBottomHeight="6dp">
```
# Example
![Alt text](/example.jpg?raw=true "ShadowFrameLayout example")

0 comments on commit 26203c5

Please sign in to comment.