This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] Switch control not respecting Material Design on Android #12150
Labels
e/3 🕒
3
in-progress
This issue has an associated pull request that may resolve it!
p/Android
t/bug 🐛
Description
When using the
Switch
control in Xamarin Forms, we are able to change theThumbColor
. When setting this toWhite
and also usingWhite
for theContentPage
BackgroundColor
, you'll notice that the drop shadow of theSwitch
is gone. According to the Android Material design guidelines, the default Android implementation has this drop shadow.Reference material from Android with also showing a White example:
https://material.io/develop/android/components/switches
https://material.io/design/interaction/states.html#usage
Steps to Reproduce
Expected Behavior
Switch control should have drop shadow and a border around the thumb circle.
Actual Behavior
No border or drop shadow can be seen
Basic Information
Screenshots
The text was updated successfully, but these errors were encountered: