Skip to content

Commit fc43339

Browse files
committed
AndroidX release v1.0.0
1 parent e16bb45 commit fc43339

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Material DatePicker and TimePicker dialogs from the Android framework package
1+
# Material DatePicker and TimePicker dialogs from the Android framework package with AndroidX
22

33
This project is ported from the [Android framework](https://android.googlesource.com/platform/frameworks/base/). In order to make the pickers material themed on older devices (pre-Lollipop), the appcompat library is used for base theming and vector drawable handling. The widgets _always_ use the custom layouts, this is a complete replacement for the framework pickers. This also means that they have the same look-and-feel on all API levels.
44

5-
[ ![Download](https://api.bintray.com/packages/gericop/maven/com.takisoft.fix%3Adatetimepicker/images/download.svg) ](https://bintray.com/gericop/maven/com.takisoft.fix%3Adatetimepicker/_latestVersion)
5+
[ ![Download](https://api.bintray.com/packages/takisoft/android/com.takisoft.datetimepicker%3Adatetimepicker/images/download.svg) ](https://bintray.com/takisoft/android/com.takisoft.datetimepicker%3Adatetimepicker/_latestVersion)
66

77
### Donation
88

@@ -15,7 +15,7 @@ If you would like to support me, you may donate some small amount via PayPal.
1515
## Setup
1616
**Add** this single line to your gradle file:
1717
```gradle
18-
compile 'com.takisoft.fix:datetimepicker:1.0.7'
18+
implementation 'com.takisoft.datetimepicker:datetimepicker:1.0.0'
1919
```
2020
And **use** one of the `Theme.AppCompat` themes (_or a custom one based on that_) as your `Activity`'s theme.
2121

@@ -26,6 +26,8 @@ Now you can use the following material themed picker dialogs:
2626

2727
Additionally you could _technically_ use `DatePicker` and `TimePicker` from the `com.takisoft.datetimepicker.widget` package inside a layout as an inline view, however, they do not support scrolling containers, so it's recommended to stick with the dialogs instead.
2828

29+
> This lib now uses AndroidX. If you don't want / can't migrate to AndroidX yet, check out the `old-support` branch.
30+
2931
---
3032

3133
## Customization

build.gradle

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2-
project.ext.buildToolsVersion = '28.0.2'
2+
project.ext.buildToolsVersion = '28.0.3'
33
project.ext.minSdkVersion = 14
44
project.ext.sdkVersion = 28
5-
project.ext.supportLibraryVersion = '28.0.0'
6-
project.ext.supportLibraryVersionPrefix = '28.0.0'
7-
project.ext.supportLibraryVersionSuffix = ''
85

9-
project.ext.libVersion = "1.0.7$rootProject.supportLibraryVersionSuffix"
6+
project.ext.libVersion = "1.0.0"
107

118
buildscript {
129

0 commit comments

Comments
 (0)