Forum Xamarin.Android

Samsung Galaxy S4 switch drawables are null?

DancaDanca SEMember


My problem is that I can't seem to replace the switch widget drawables with custom ones on the Samsung Galaxy S4. I get a NullPointerException since the thumb drawable and track drawable are actually null. Replacing the drawables works on other devices like Motorola Moto G & HTC Desire where the drawables aren't null.

Is there something wrong/special about the switch on Samsung Galaxy S4? Is there another way to replace the drawables for the thumb and track?

Thanks in advance!


Sign In or Register to comment.