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.48k stars 102 forks source link

ClipToPadding attribute not working #35

Closed ghost closed 1 month ago

IvanAbakumov commented 6 months ago

@JenishAlmighty Can you provide an example?

xirf commented 3 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 1 month ago

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