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

is there anyway to set gradient of card view? #2

Open
asadqazi opened this issue Feb 9, 2021 · 1 comment
Open

is there anyway to set gradient of card view? #2

asadqazi opened this issue Feb 9, 2021 · 1 comment

Comments

@asadqazi
Copy link

asadqazi commented Feb 9, 2021

            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?
@thelumiereguy
Copy link
Owner

thelumiereguy commented Feb 9, 2021

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

Thanks for the suggestion.

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