File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,9 @@ veilLayout.layout = R.layout.layout_item_test
109
109
app:veilFrame_highlightColor="@android:color/holo_green_light" // sets shimmer highlight color
110
110
app:veilFrame_baseAlpha="0.6" // sets shimmer base alpha value
111
111
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 />
113
115
```
114
116
115
117
And we should attach our own adapter and LayoutManager.
@@ -181,6 +183,8 @@ baseAlpha | Float | 1.0f | sets shimmer base alpha value.
181
183
highlightAlpha | Float | 1.0f | sets shimmer highlight alpha value.
182
184
dropOff | Float | 0.5f | sets how quickly the shimmer's gradient drops-off.
183
185
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
184
188
185
189
## Find this repository useful? :heart :
186
190
Support it by joining __ [ stargazers] ( https://github.com/skydoves/androidveil/stargazers ) __ for this repository. :star : <br >
You can’t perform that action at this time.
0 commit comments