I have a ListView
containing a TextView
and a NumberPicker
for each row.
Whenever I start up the activity, the numbers of the NumberPicker
are white (the same color as the background).
I tried applying a style as suggested here, here, and here ; to no avail.
Any other suggestions?
-
NumberPicker.xml
<NumberPicker
android:id="@+id/npMaterialAmount"
android:layout_alignParentRight="true"
android:layout_width="wrap_content"
android:layout_height="75dp"
style="@style/npColour"/>
-
Tried style 1:
<style name = "npColour" >
<item name = "android:textColor">#000000</item>
</style>
-
Tried style 2:
<style name = "npColour" parent ="@android:style/Theme.Holo.Light">
</style>
-
... and the list goes on...