Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Shimmer produce black line with clip_children=false #83

Open
ReeMiXeR opened this issue Apr 10, 2019 · 0 comments
Open

Shimmer produce black line with clip_children=false #83

ReeMiXeR opened this issue Apr 10, 2019 · 0 comments

Comments

@ReeMiXeR
Copy link

ReeMiXeR commented Apr 10, 2019

Hello!
Thank you for cool library!
I faced with problem, if I add shimmer_clip_to_children=true, shimmer produce black line instead of white line.
if shimmer_clip_to_children=false all is ok and I have white line.

My shimmer code -

<com.facebook.shimmer.ShimmerFrameLayout
        android:id="@+id/shimmer_view_container"
        android:layout_width="match_parent"
        android:layout_height="400dp"
        android:background="@color/white"
        app:shimmer_clip_to_children="true"
        app:shimmer_auto_start="true"
        app:shimmer_base_alpha="1"
        app:shimmer_colored="false"
        app:shimmer_direction="left_to_right"
        app:shimmer_highlight_alpha="0.4"
        app:shimmer_tilt="0.0"/>

Screenshot 2019-04-11 at 02 13 42

What I do wrong?

p.s. I use 0.4.0 version

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

No branches or pull requests

1 participant