skydoves / AndroidVeil

:performing_arts: An easy and flexible way to implement loading skeletons and shimmering effects on layouts for Android.
Apache License 2.0
1.52k stars 106 forks source link

ClipToPadding attribute not working #35

Closed ghost closed 4 months ago

IvanAbakumov commented 9 months ago

@JenishAlmighty Can you provide an example?

xirf commented 6 months ago

@JenishAlmighty Can you provide an example?

here is the example

    <com.skydoves.androidveil.VeilRecyclerFrameView
        android:id="@+id/rv_story"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:clipToPadding="false"
        android:paddingHorizontal="8dp"
        android:paddingTop="16dp"
        android:paddingBottom="84dp"
        app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
        app:layout_behavior="@string/appbar_scrolling_view_behavior"
        app:veilFrame_veiled="true"
        app:veilFrame_radius="8dp"
        app:veilFrame_layout="@layout/story_item" />

image

skydoves commented 4 months ago

Hi guys, the new version 1.1.4 has been released, and it reflects the clipToPadding values of the VeilRecyclerFrameView.