Skip to content

Commit e6676ef

Browse files
authored
Merge pull request #29 from ahmedmed7t/main
update README file
2 parents 96431ee + 5699047 commit e6676ef

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ veilLayout.layout = R.layout.layout_item_test
109109
app:veilFrame_highlightColor="@android:color/holo_green_light" // sets shimmer highlight color
110110
app:veilFrame_baseAlpha="0.6" // sets shimmer base alpha value
111111
app:veilFrame_highlightAlpha="1.0" // sets shimmer highlight alpha value
112-
app:veilFrame_radius="8dp" // sets a corner radius of the whole veiled items />
112+
app:veilFrame_radius="8dp" // sets a corner radius of the whole veiled items
113+
app:veilFrame_isItemWrapContentHeight="true" // sets height of list item wrap_content
114+
app:veilFrame_isItemWrapContentWidth="true" // sets width of list item wrap_content />
113115
```
114116

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

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

0 commit comments

Comments
 (0)