From 631edc44ddb68edc8db67f1da0e7a4cf1c78d0f3 Mon Sep 17 00:00:00 2001 From: Henning Hall Date: Sun, 12 Jul 2020 00:04:07 +0200 Subject: [PATCH] Update README.md --- README.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/README.md b/README.md index c997a76..ddd2122 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,12 @@ export default () => { ## FAQ +### How do I change the divider color? +The color of the divider, separator (or whatever you choose to call it) can only be changed on android for the androidNative variant. To change it, add the following to your android AppTheme. The theme is often found in styles.xml. +```xml +#ff0000 +``` + ### Can I use expo? Unfortunately, expo does not support this date picker at the moment. Upvote this feature request if you would like to have it included. @@ -106,6 +112,37 @@ If you have enabled iOS cloneNative Android + + date time picker + + date time picker + + +The so called "iOS clone" looks and works similar to the ios version. It shows normaly 5 lines of dates. It is enabled by default. +This version looks more like a standard native implementation on Android. The divider color can be changed by adding the following to you Android theme. +#03b6fc + + + +```js +androidVariant="nativeAndroid" +``` + + +```js +androidVariant="iosClone" +``` + + + + + ## Three different modes Here are some more info about the three different picker modes that are available.