heysupratim / material-daterange-picker

A material Date Range Picker based on wdullaers MaterialDateTimePicker
Apache License 2.0
1.33k stars 266 forks source link

How to I change the text colour of the Tabs - FROM and TO? #66

Closed georgikoemdzhiev closed 5 years ago

georgikoemdzhiev commented 7 years ago

HI! First of all, thank you for the awesome library. It is very easy to use. I just have one question. How to change the colour of the two tabs at the top of the picker (TimePickerDialog more specificly). Currently, it looks like that:

device-2017-02-27-123444

Thank you in advance!

benznest commented 7 years ago

+1 I have the problem too.

Rouix commented 7 years ago

@georgikoemdzhiev Have you solved the problem?) If so, how?)

GuoZhaoHui628 commented 7 years ago

+1 i have the same problem, if you haved fix this please show

GuoZhaoHui628 commented 7 years ago

o I solved the problem , change app module styles.xml

  <style name="AppTheme" parent="Theme.AppCompat">
 </style>

To


<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
</style>
```·
OmarMohamedDev commented 7 years ago

If you don't want to change the whole app/activity theme, change just the style of the Dialog as was made here more in general (DatePickerDialog extends DialogFragment):https://stackoverflow.com/questions/15007272/how-to-change-the-background-color-around-a-dialogfragment