Skip to content

Instantly share code, notes, and snippets.

@bkhezry
Created June 26, 2018 10:55
Show Gist options
  • Save bkhezry/7c0fdbbd7470fb47db25f9e28e06151c to your computer and use it in GitHub Desktop.
Save bkhezry/7c0fdbbd7470fb47db25f9e28e06151c to your computer and use it in GitHub Desktop.
change NumberPicker theme
<resources>
<style name="NumberPickerStyle" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="android:textColorPrimary">#000000</item>
</style>
</resources>
@bkhezry
Copy link
Author

bkhezry commented Jun 26, 2018

<ir.hamsaa.persiandatepicker.view.PersianNumberPicker
            android:id="@+id/yearNumberPicker"
            android:theme="@style/NumberPickerStyle"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginLeft="4dp"
            android:layout_marginRight="2dp"
            android:layout_weight="1" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment