Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in RecyclerView shadow is not showing #22

Open
sudhirs745 opened this issue Jun 10, 2020 · 2 comments
Open

in RecyclerView shadow is not showing #22

sudhirs745 opened this issue Jun 10, 2020 · 2 comments

Comments

@sudhirs745
Copy link

sudhirs745 commented Jun 10, 2020

hi
i add ShadowLayout in RecyclerView item

<com.gigamole.library.ShadowLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/px_15.0_dp"
android:layout_marginRight="@dimen/px_15.0_dp"
app:sl_shadow_angle="45"
app:sl_shadow_color="@color/sh__bt_color"
app:sl_shadow_distance="@dimen/px_2.0_dp"
app:sl_shadow_radius="@dimen/px_5.0_dp"
app:sl_shadowed="true">

...............
</com.gigamole.library.ShadowLayout

if 1st time load RecyclerView then working fine this is the screenshot
WhatsApp Image 2020-06-10 at 10 09 46 AM

if recyclerview scroll to bottom and come to up then Shadow is not showing
like this
WhatsApp Image 2020-06-10 at 10 10 06 AM

@Firsto
Copy link

Firsto commented Sep 21, 2020

@sudhirs745 are you resolved this problem?

@Firsto
Copy link

Firsto commented Sep 21, 2020

@sudhirs745 working in this fork:
https://github.com/wenmin92/ShadowLayout/blob/master/library/src/main/java/com/gigamole/library/ShadowLayout.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants