thelumiereguy/NeumorphismView-Android

is there anyway to set gradient of card view?

asadqazi opened this issue · 1 comments

            android:layout_width="wrap_content"
            android:layout_height="76dp"
            android:padding="10dp"
            app:cardRadius="8dp"
            app:enableHighlight="true"
            app:enableShadow="true"
            app:highlightColor="@color/colorWhite"
            app:highlightDx="-4dp"
            app:highlightDy="-4dp"
            app:highlightRadius="6dp"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="@+id/cvSettings"
            app:layout_constraintTop_toBottomOf="@+id/cvSettings"
            app:neu_backgroundColor="@color/colorNewBg"
            app:shadowColor="@color/colorNeuShadow"
            app:shadowDx="2dp"
            app:shadowDy="2dp"
            app:shadowRadius="3dp"
            tools:visibility="visible" />```

How to set gradient?

@asadqazi For now, there's no option to set a gradient. I'll try to add it soon.

Thanks for the suggestion.