try dropping "android:" in @style/CustomSwitch0. I believe you can only use the android namespace only if you are able to find it in herehttp://developer.android.com/reference/android/R.styleable.html
As per this bug, it looks like it isn't possible to inherit.
However, as a workaround, you could override the existing style (if it's just colors that you're dealing with) by creating the appropriate 9-patches etc at http://android-holo-colors.com/