ShadowLayout icon indicating copy to clipboard operation
ShadowLayout copied to clipboard

in RecyclerView shadow is not showing

Open sudhirs745 opened this issue 5 years ago • 2 comments

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"> <LinearLayout android:id="@+id/next_button" android:layout_width="match_parent" android:layout_height="@dimen/px_50.0_dp" android:layout_gravity="center" android:background="@drawable/bt_gradint_bg" android:gravity="center" android:orientation="horizontal" android:paddingLeft="@dimen/px_25.0_dp" android:paddingRight="@dimen/px_25.0_dp"> ............... </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

sudhirs745 avatar Jun 10 '20 04:06 sudhirs745

@sudhirs745 are you resolved this problem?

Firsto avatar Sep 21 '20 05:09 Firsto

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

Firsto avatar Sep 21 '20 05:09 Firsto