Skip to content

Commit

Permalink
Merge pull request #29 from ahmedmed7t/main
Browse files Browse the repository at this point in the history
update README file
  • Loading branch information
skydoves authored Sep 18, 2022
2 parents 96431ee + 5699047 commit e6676ef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ veilLayout.layout = R.layout.layout_item_test
app:veilFrame_highlightColor="@android:color/holo_green_light" // sets shimmer highlight color
app:veilFrame_baseAlpha="0.6" // sets shimmer base alpha value
app:veilFrame_highlightAlpha="1.0" // sets shimmer highlight alpha value
app:veilFrame_radius="8dp" // sets a corner radius of the whole veiled items />
app:veilFrame_radius="8dp" // sets a corner radius of the whole veiled items
app:veilFrame_isItemWrapContentHeight="true" // sets height of list item wrap_content
app:veilFrame_isItemWrapContentWidth="true" // sets width of list item wrap_content />
```

And we should attach our own adapter and LayoutManager.
Expand Down Expand Up @@ -181,6 +183,8 @@ baseAlpha | Float | 1.0f | sets shimmer base alpha value.
highlightAlpha | Float | 1.0f | sets shimmer highlight alpha value.
dropOff | Float | 0.5f | sets how quickly the shimmer's gradient drops-off.
defaultChildVisible | Boolean | false | sets the child view's visibility when called veil and unveil.
isItemWrapContentHeight | Boolean | false | sets height of veiled list item wrap_content
isItemWrapContentWidth | Boolean | false | sets width of veiled list item wrap_content

## Find this repository useful? :heart:
Support it by joining __[stargazers](https://github.com/skydoves/androidveil/stargazers)__ for this repository. :star: <br>
Expand Down

0 comments on commit e6676ef

Please sign in to comment.