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

BAckground Clipping, Or not fading completely #68

Open
SanjaykmZ opened this issue Jan 22, 2021 · 0 comments
Open

BAckground Clipping, Or not fading completely #68

SanjaykmZ opened this issue Jan 22, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@SanjaykmZ
Copy link

Version used:
latest version

<soup.neumorphism.NeumorphCardView
style="@style/Widget.Neumorph.TextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_gravity="center"
android:padding="12dp"
app:neumorph_shadowElevation="3dp"
app:neumorph_shadowColorLight="@color/white"
app:neumorph_shadowColorDark="@color/dark"
app:neumorph_lightSource="leftTop"
app:neumorph_shapeType="flat"
app:neumorph_shapeAppearance="@style/neo_rect"
app:neumorph_backgroundColor="@color/colorAccent"
app:neumorph_inset="12dp">

    <TextView
        android:id="@+id/buttonContinue"
        android:layout_width="match_parent"
        android:layout_height="55dp"
        android:layout_gravity="center"
        android:gravity="center"
        android:textStyle="bold"
        android:fontFamily="@font/font2"
        android:text="S E N D   O T P"
        android:textColor="@color/white" />

</soup.neumorphism.NeumorphCardView>

Even on increasing inset, Shadow is not fading completely, Its CLipping at bottom
Screenshot_20210123-000449

@SanjaykmZ SanjaykmZ added the bug Something isn't working label Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant