Comments (3)
On android project styles (Android>App>src>main>res>values>styles.xml)
<resources>
<!-- inherit from the material theme -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!--<style name="AppTheme" parent="android:Theme.Material.NoActionBar">-->
<!-- Main theme colors -->
<!-- your app branding color for the app bar -->
<item name="android:colorPrimary">@color/dark_red</item>
<!-- darker variant for the status bar and contextual app bars -->
<item name="android:colorPrimaryDark">@color/main_red</item>
<!-- Active thumb color & Active track color(30% transparency) -->
<item name="colorControlActivated">@color/main_red</item>
<item name="android:datePickerDialogTheme">@style/MyDatePickerDialogTheme</item>
<item name="android:timePickerDialogTheme">@style/MyDatePickerDialogTheme</item>
</style>
<style name="MyDatePickerDialogTheme" parent="Theme.AppCompat.Light.Dialog">
<item name="colorPrimary">@color/main_red</item>
<item name="colorPrimaryDark">@color/main_red</item>
<item name="colorAccent">@color/main_red</item>
<item name="android:headerBackground">@color/main_red</item>
</style>
</resources>
Dont works on old versions of Android.
from react-native-datepicker.
This calendar select panel is android's native component. I think it's dependent on the system theme.
from react-native-datepicker.
@luisfuertes thankyou ! excellent
from react-native-datepicker.
Related Issues (20)
- can i disabling spesific date in react-native-community/datetimepicker? HOT 1
- Error: DatePickerAndroid is not supported on this platform. in iOS
- is this package dead? HOT 4
- i get bug when use 2 datepicker in 1 screen HOT 1
- how to change font color of button HOT 1
- onDateChange not updating fast enough, reverts to previous state upon not being able to register the scroll-select(iOS) HOT 1
- Property has a previous declaration
- h
- minDate did not work in Mozilla HOT 1
- datepickerandroid has been removed from react native HOT 3
- Unable to inspect picker elements of react-native-picker v1.7.2 in Appium inspector for both Android and IOS
- Background color of selected date area, is not changing while disabled the datepicker HOT 2
- Expo eligibility
- Invariant Violation: DatePickerAndroid has been removed from React Native. It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. See https://github.com/react-native-datetimepicker/datetimepicker HOT 9
- 苹果手机系统版本(16.0.3)更新 不能工作 HOT 1
- warning[react-native-paper-dates] en is not registered, key: typeInDate
- useNativeDriver is required HOT 1
- Component will receive props HOT 1
- [react-native-paper-dates] The locale en is not registered, see README!, key: typeInDate HOT 7
- en-US not supported HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-datepicker.