如何更改datepicker的字体颜色?

时间:2013-07-08 09:19:37

标签: android colors fonts datepicker

我想更改datepicker上的字体颜色 因为我的背景是黑色的,而日期选择器上的默认字体也是黑色的 我想把它改成白色。

XML:

        <DatePicker
            android:id="@+id/dt_tanggal_lahir"
            style="android:datePickerStyle"
            android:layout_width="wrap_content"
            android:layout_height="150dp"
            android:calendarViewShown="false"
            android:textColor="@android:color/white"
            android:textSize="20sp"
            android:textStyle="bold"
            android:typeface="serif" />            

0 个答案:

没有答案
相关问题