Given an application which is themed via AppCompat (@style/Theme.AppCompat
) and a layout using the framework's NumberPicker, is there a way to change its selectionDividersDistance
[1]? Is this override even possible via XML, this is, without resorting to java reflection for example?
[1] selectionDividersDistance
's styleable declaration)
Answering my own question: it is not possible to change
selectionDividersDistance
, when using the framework'sNumberPicker
, solely by using XML to override it, since the attribute is not declared publicly by the Android framework, as seen here.Here is a bit more context about how public attributes work, and a thorough explanation by Edward Falk about how resources are mapped