Changing NumberPicker divider color
This worked for me without using the reflection. my_layout.xml <NumberPicker … android:theme=”@style/DefaultNumberPickerTheme” /> Styles.xml (AppTheme is my app theme in the app) <style name=”DefaultNumberPickerTheme” parent=”AppTheme”> <item name=”colorControlNormal”>@color/dividerColor</item> </style>