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

Change Shadow Color #14

Open
bhumikash-tech opened this issue Oct 29, 2021 · 1 comment
Open

Change Shadow Color #14

bhumikash-tech opened this issue Oct 29, 2021 · 1 comment

Comments

@bhumikash-tech
Copy link

I just want to know is there any way to change the color of Shadow in Elevated/Pit Views or in SynthButtons /SynthImageButtons????

Please reply this issue.....

@vishalzende7
Copy link

issue happening with elevated view, i created a complete style reference as per documentation,
here is my code,

<style name="Theme.MyApp.ElevatedView"> <item name="neuLightShadowColor">@color/synth_light_shadow_color_light</item> <item name="neuDarkShadowColor">@color/synth_dark_shadow_light</item> <item name="neuFillStartColor">@color/synth_light</item> <item name="neuFillEndColor">@color/synth_light</item> <item name="neuBorderStartColor">@color/synth_light</item> <item name="neuBorderEndColor">@color/synth_light</item> </style>

<club.cred.synth.views.ElevatedView android:layout_width="0dp" android:layout_height="0dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:neuCornerRadius="@dimen/pit_corner_radius" app:neuPlatformAppearance="@style/Theme.MyApp.ElevatedView" app:neuShadowOffset="2dp" />

but elevated view's appearance is not changing

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