diff --git a/.circleci/config.yml b/.circleci/config.yml old mode 100644 new mode 100755 diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/app/.gitignore b/app/.gitignore old mode 100644 new mode 100755 diff --git a/app/build.gradle b/app/build.gradle old mode 100644 new mode 100755 index afec38dd..aa7b99a4 --- a/app/build.gradle +++ b/app/build.gradle @@ -28,8 +28,8 @@ android { dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') - implementation "androidx.appcompat:appcompat:1.1.0" - implementation 'com.google.android.material:material:1.1.0' + implementation "androidx.appcompat:appcompat:1.5.0" + implementation 'com.google.android.material:material:1.6.1' implementation 'com.jakewharton:butterknife:10.2.1' annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1' implementation project(':singledateandtimepicker') diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro old mode 100644 new mode 100755 diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml old mode 100644 new mode 100755 index 4b6b4a8e..43e44a0d --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -8,7 +8,8 @@ android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme"> - + diff --git a/app/src/main/java/com/github/florent37/sample/singledateandtimepicker/SingleDatePickerMainActivity.java b/app/src/main/java/com/github/florent37/sample/singledateandtimepicker/SingleDatePickerMainActivity.java old mode 100644 new mode 100755 diff --git a/app/src/main/java/com/github/florent37/sample/singledateandtimepicker/SingleDatePickerMainActivityWithDoublePicker.java b/app/src/main/java/com/github/florent37/sample/singledateandtimepicker/SingleDatePickerMainActivityWithDoublePicker.java old mode 100644 new mode 100755 index c6846449..6594d99a --- a/app/src/main/java/com/github/florent37/sample/singledateandtimepicker/SingleDatePickerMainActivityWithDoublePicker.java +++ b/app/src/main/java/com/github/florent37/sample/singledateandtimepicker/SingleDatePickerMainActivityWithDoublePicker.java @@ -3,7 +3,6 @@ import android.os.Bundle; import android.util.Log; import android.widget.TextView; -import android.widget.Toast; import com.github.florent37.singledateandtimepicker.SingleDateAndTimePicker; import com.github.florent37.singledateandtimepicker.dialog.DoubleDateAndTimePickerDialog; @@ -48,6 +47,7 @@ public class SingleDatePickerMainActivityWithDoublePicker extends AppCompatActiv DoubleDateAndTimePickerDialog.Builder doubleBuilder; private static String TAG = "SingleDatePickerMainActivityWithDoublePicker"; + private long currentTime = 0L; @Override protected void onCreate(Bundle savedInstanceState) { @@ -74,23 +74,27 @@ protected void onPause() { } - - @OnClick(R.id.singleTimeText) + /* TODO Working on it */ + @OnClick(R.id.single_time_dialog_layout) public void simpleTimeClicked() { - Calendar calendar = Calendar.getInstance(); - - calendar.set(Calendar.HOUR_OF_DAY, 21); - calendar.set(Calendar.MINUTE, 50); + Date date = new Date(); + if (currentTime == 0L) { + currentTime = System.currentTimeMillis(); + } + SimpleDateFormat currentDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); + System.out.println("simpleTimeClicked() " + currentDateFormat.format(currentTime)); + date.setTime(currentTime); - final Date defaultDate = calendar.getTime(); + TimeZone timeZone = TimeZone.getTimeZone("US/Arizona"); + simpleTimeFormat.setTimeZone(timeZone); singleBuilder = new SingleDateAndTimePickerDialog.Builder(this) - .setTimeZone(TimeZone.getDefault()) + .setTimeZone(timeZone) .bottomSheet() .curved() - - .defaultDate(defaultDate) + .displayAmPm(true) + .defaultDate(date) //.titleTextColor(Color.GREEN) //.backgroundColor(Color.BLACK) @@ -115,17 +119,15 @@ public void onClosed(SingleDateAndTimePicker picker) { }) .title("Simple Time") - .listener(new SingleDateAndTimePickerDialog.Listener() { - @Override - public void onDateSelected(Date date) { - singleTimeText.setText(simpleTimeFormat.format(date)); - } + .listener(date1 -> { + currentTime = date1.getTime(); + singleTimeText.setText(simpleTimeFormat.format(date1)); }); singleBuilder.display(); } - @OnClick(R.id.singleDateText) + @OnClick(R.id.single_date_dialog_layout) public void simpleDateClicked() { final Calendar calendar = Calendar.getInstance(); @@ -135,15 +137,9 @@ public void simpleDateClicked() { .setTimeZone(TimeZone.getDefault()) .bottomSheet() .curved() - - //.titleTextColor(Color.GREEN) - //.backgroundColor(Color.BLACK) - //.mainColor(Color.GREEN) - .displayHours(false) .displayMinutes(false) .displayDays(true) - .displayListener(new SingleDateAndTimePickerDialog.DisplayListener() { @Override public void onDisplayed(SingleDateAndTimePicker picker) { @@ -155,18 +151,12 @@ public void onClosed(SingleDateAndTimePicker picker) { Log.d(TAG, "Dialog closed"); } }) - .title("") - .listener(new SingleDateAndTimePickerDialog.Listener() { - @Override - public void onDateSelected(Date date) { - singleDateText.setText(simpleDateOnlyFormat.format(date)); - } - }); + .listener(date -> singleDateText.setText(simpleDateOnlyFormat.format(date))); singleBuilder.display(); } - @OnClick(R.id.singleLayout) + @OnClick(R.id.single_dialog_layout) public void simpleClicked() { final Calendar calendar = Calendar.getInstance(); @@ -225,7 +215,7 @@ public void onDateSelected(Date date) { singleBuilder.display(); } - @OnClick(R.id.doubleLayout) + @OnClick(R.id.double_dialog_layout) public void doubleClicked() { final Date now = new Date(); @@ -274,7 +264,7 @@ public void onDateSelected(List dates) { doubleBuilder.display(); } - @OnClick(R.id.singleDateLocaleLayout) + @OnClick(R.id.single_date_dialog_german_layout) public void singleDateLocaleClicked() { singleBuilder = new SingleDateAndTimePickerDialog.Builder(this) .customLocale(Locale.GERMAN) diff --git a/app/src/main/res/drawable/ic_event_available_black_24dp.xml b/app/src/main/res/drawable/ic_event_available_black_24dp.xml old mode 100644 new mode 100755 diff --git a/app/src/main/res/font/dinot_bold.ttf b/app/src/main/res/font/dinot_bold.ttf old mode 100644 new mode 100755 diff --git a/app/src/main/res/font/dinot_regular.ttf b/app/src/main/res/font/dinot_regular.ttf old mode 100644 new mode 100755 diff --git a/app/src/main/res/layout/single_date_picker_activity_main.xml b/app/src/main/res/layout/single_date_picker_activity_main.xml old mode 100644 new mode 100755 diff --git a/app/src/main/res/layout/single_date_picker_activity_main_double_picker.xml b/app/src/main/res/layout/single_date_picker_activity_main_double_picker.xml old mode 100644 new mode 100755 index 17cb48cd..e00bb167 --- a/app/src/main/res/layout/single_date_picker_activity_main_double_picker.xml +++ b/app/src/main/res/layout/single_date_picker_activity_main_double_picker.xml @@ -3,8 +3,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" - android:orientation="vertical" - > + android:orientation="vertical"> + app:titleTextColor="@android:color/white" /> + android:orientation="vertical"> + android:orientation="horizontal"> + app:srcCompat="@drawable/ic_event_available_black_24dp" /> + android:textSize="15sp" /> + android:orientation="horizontal"> + app:srcCompat="@drawable/ic_event_available_black_24dp" /> + android:textSize="15sp" /> + android:orientation="horizontal"> + app:srcCompat="@drawable/ic_event_available_black_24dp" /> + android:textSize="15sp" /> + android:orientation="horizontal"> + app:srcCompat="@drawable/ic_event_available_black_24dp" /> + android:textSize="15sp" /> + android:orientation="horizontal"> + app:srcCompat="@drawable/ic_event_available_black_24dp" /> + android:textSize="15sp" /> diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/app/src/main/res/mipmap-hdpi/ic_launcher.png old mode 100644 new mode 100755 diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.png b/app/src/main/res/mipmap-mdpi/ic_launcher.png old mode 100644 new mode 100755 diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/app/src/main/res/mipmap-xhdpi/ic_launcher.png old mode 100644 new mode 100755 diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png old mode 100644 new mode 100755 diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png old mode 100644 new mode 100755 diff --git a/app/src/main/res/values-w820dp/dimens.xml b/app/src/main/res/values-w820dp/dimens.xml old mode 100644 new mode 100755 diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml old mode 100644 new mode 100755 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml old mode 100644 new mode 100755 diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml old mode 100644 new mode 100755 diff --git a/build.gradle b/build.gradle old mode 100644 new mode 100755 index ba2ea3fd..5645ec71 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:3.6.2' + classpath 'com.android.tools.build:gradle:3.6.4' classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4' // NOTE: Do not place your application dependencies here; they belong @@ -23,8 +23,8 @@ allprojects { } ext { - sdk = 28 - minSdk = 14 + sdk = 32 + minSdk = 23 github = 'https://github.com/florent37/SingleDateAndTimePicker' diff --git a/circle.yml b/circle.yml old mode 100644 new mode 100755 diff --git a/gradle.properties b/gradle.properties old mode 100644 new mode 100755 diff --git a/gradle/bintray-android-v1.gradle b/gradle/bintray-android-v1.gradle old mode 100644 new mode 100755 diff --git a/gradle/bintray-java-v1.gradle b/gradle/bintray-java-v1.gradle old mode 100644 new mode 100755 diff --git a/gradle/install-v1.gradle b/gradle/install-v1.gradle old mode 100644 new mode 100755 diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar old mode 100644 new mode 100755 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties old mode 100644 new mode 100755 diff --git a/gradlew.bat b/gradlew.bat old mode 100644 new mode 100755 diff --git a/media/custom_colors.png b/media/custom_colors.png old mode 100644 new mode 100755 diff --git a/media/double.png b/media/double.png old mode 100644 new mode 100755 diff --git a/media/double_small.png b/media/double_small.png old mode 100644 new mode 100755 diff --git a/media/double_small_crop.png b/media/double_small_crop.png old mode 100644 new mode 100755 diff --git a/media/ios_double.png b/media/ios_double.png old mode 100644 new mode 100755 diff --git a/media/ios_double_crop.png b/media/ios_double_crop.png old mode 100644 new mode 100755 diff --git a/media/ios_simple.png b/media/ios_simple.png old mode 100644 new mode 100755 diff --git a/media/ios_simple_crop.png b/media/ios_simple_crop.png old mode 100644 new mode 100755 diff --git a/media/layout.png b/media/layout.png old mode 100644 new mode 100755 diff --git a/media/layout_small.png b/media/layout_small.png old mode 100644 new mode 100755 diff --git a/media/new_video.gif b/media/new_video.gif old mode 100644 new mode 100755 diff --git a/media/new_video.mp4 b/media/new_video.mp4 old mode 100644 new mode 100755 diff --git a/media/simple.png b/media/simple.png old mode 100644 new mode 100755 diff --git a/media/simple_small.png b/media/simple_small.png old mode 100644 new mode 100755 diff --git a/media/single_small_crop.png b/media/single_small_crop.png old mode 100644 new mode 100755 diff --git a/media/single_tiny_crop.png b/media/single_tiny_crop.png old mode 100644 new mode 100755 diff --git a/media/years_crop.png b/media/years_crop.png old mode 100644 new mode 100755 diff --git a/settings.gradle b/settings.gradle old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/.gitignore b/singledateandtimepicker/.gitignore old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/build.gradle b/singledateandtimepicker/build.gradle old mode 100644 new mode 100755 index a19bbffe..4270dd1b --- a/singledateandtimepicker/build.gradle +++ b/singledateandtimepicker/build.gradle @@ -6,8 +6,8 @@ android { defaultConfig { minSdkVersion project.minSdk targetSdkVersion project.sdk - versionCode 2 - versionName "1.1" + versionCode 3 + versionName "1.2" } lintOptions { abortOnError false @@ -15,7 +15,7 @@ android { } dependencies { - implementation "androidx.appcompat:appcompat:1.1.0" + implementation "androidx.appcompat:appcompat:1.5.0" } ext { diff --git a/singledateandtimepicker/proguard-rules.pro b/singledateandtimepicker/proguard-rules.pro old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/AndroidManifest.xml b/singledateandtimepicker/src/main/AndroidManifest.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/DateHelper.java b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/DateHelper.java old mode 100644 new mode 100755 index b37accb7..4124a0e6 --- a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/DateHelper.java +++ b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/DateHelper.java @@ -2,8 +2,10 @@ import androidx.annotation.NonNull; +import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; +import java.util.Locale; import java.util.TimeZone; public class DateHelper { @@ -20,22 +22,27 @@ public DateHelper(TimeZone timeZone) { public void setTimeZone(TimeZone timeZoneValue) { timeZone = timeZoneValue; + System.out.println("DateHelper setTimeZone(): " + timeZoneValue.getID()); } @NonNull public TimeZone getTimeZone() { if(this.timeZone == null) { - return TimeZone.getDefault(); - } else { - return timeZone; + timeZone = TimeZone.getDefault(); } + System.out.println("DateHelper getTimeZone(): " + timeZone.getID()); + return timeZone; } public Calendar getCalendarOfDate(Date date) { + final String formatter = "yyyy-MM-dd HH:mm:ss"; + final SimpleDateFormat simpleDateFormat = new SimpleDateFormat(formatter, Locale.getDefault()); + System.out.println("DateHelper getCalendarOfDate(): Original " + simpleDateFormat.format(date)); final Calendar calendar = Calendar.getInstance(getTimeZone()); calendar.setTime(date); calendar.set(Calendar.MILLISECOND, 0); calendar.set(Calendar.SECOND, 0); + System.out.println("DateHelper getCalendarOfDate(): " + simpleDateFormat.format(calendar.getTime())); return calendar; } @@ -44,7 +51,7 @@ public int getHour(Date date) { } public int getHourOfDay(Date date) { - return getCalendarOfDate(date).get(Calendar.HOUR); + return getCalendarOfDate(date).get(Calendar.HOUR_OF_DAY); } public int getHour(Date date, boolean isAmPm) { diff --git a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/LocaleHelper.java b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/LocaleHelper.java old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/SingleDateAndTimePicker.java b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/SingleDateAndTimePicker.java old mode 100644 new mode 100755 index baf26241..b79611cd --- a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/SingleDateAndTimePicker.java +++ b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/SingleDateAndTimePicker.java @@ -137,6 +137,10 @@ public SingleDateAndTimePicker(Context context, AttributeSet attrs, int defStyle public void setDateHelper(DateHelper dateHelper) { this.dateHelper = dateHelper; + // update DateHelper object at each Wheel view + for (WheelPicker wheelPicker : pickers) { + wheelPicker.setDateHelper(dateHelper); + } } public void setTimeZone(TimeZone timeZone) { @@ -225,6 +229,7 @@ public void onFinishedLoop(WheelHourPicker picker) { .setHourChangedListener(new WheelHourPicker.OnHourChangedListener() { @Override public void onHourChanged(WheelHourPicker picker, int hour) { + System.out.println("SingleDateAndTimePicker onHourChanged(): hour -> " + hour); updateListener(); checkMinMaxDate(picker); } diff --git a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/dialog/BaseDialog.java b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/dialog/BaseDialog.java old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/dialog/BottomSheetHelper.java b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/dialog/BottomSheetHelper.java old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/dialog/DoubleDateAndTimePickerDialog.java b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/dialog/DoubleDateAndTimePickerDialog.java old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/dialog/SingleDateAndTimePickerDialog.java b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/dialog/SingleDateAndTimePickerDialog.java old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/DateWithLabel.java b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/DateWithLabel.java old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/SingleDateAndTimeConstants.java b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/SingleDateAndTimeConstants.java old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelAmPmPicker.java b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelAmPmPicker.java old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelDayOfMonthPicker.java b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelDayOfMonthPicker.java old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelDayPicker.java b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelDayPicker.java old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelHourPicker.java b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelHourPicker.java old mode 100644 new mode 100755 index cc5380c9..d5855ceb --- a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelHourPicker.java +++ b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelHourPicker.java @@ -95,7 +95,6 @@ public void setDefault(String defaultValue) { if (isAmPm && hour >= MAX_HOUR_AM_PM) { hour -= MAX_HOUR_AM_PM; } - super.setDefault(getFormattedValue(hour)); } catch (Exception e){ e.printStackTrace(); @@ -106,6 +105,8 @@ public void setIsAmPm(boolean isAmPm) { this.isAmPm = isAmPm; if (isAmPm) { setMaxHour(MAX_HOUR_AM_PM); + // To fix NOT updating afternoon hour, by yeojong + setDefault(defaultValue); } else { setMaxHour(MAX_HOUR_DEFAULT); } @@ -134,7 +135,7 @@ public void setStepSizeHours(int hoursStep) { } private int convertItemToHour(Object item) { - Integer hour = Integer.valueOf(String.valueOf(item)); + int hour = Integer.parseInt(String.valueOf(item)); if (!isAmPm) { return hour; } @@ -142,7 +143,6 @@ private int convertItemToHour(Object item) { if (hour == 12) { hour = 0; } - return hour; } diff --git a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelMinutePicker.java b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelMinutePicker.java old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelMonthPicker.java b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelMonthPicker.java old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelPicker.java b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelPicker.java old mode 100644 new mode 100755 index 10f96f96..4b3f41d7 --- a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelPicker.java +++ b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelPicker.java @@ -1008,10 +1008,6 @@ public int findIndexOfDate(@NonNull Date date) { if (formatItemInt != Integer.MIN_VALUE) { // displayed values are Integers int objectInt = Integer.parseInt(object); - if (this instanceof WheelHourPicker && ((WheelHourPicker) this).isAmPm) { - // In case of hours and AM/PM mode, apply modulo 12 - objectInt = objectInt % 12; - } if (objectInt <= formatItemInt) { index = i; } @@ -1174,4 +1170,4 @@ public int getItemPosition(V value) { return position; } } -} +} \ No newline at end of file diff --git a/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelYearPicker.java b/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/WheelYearPicker.java old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/color/date_picker_am_pm_text_selector.xml b/singledateandtimepicker/src/main/res/color/date_picker_am_pm_text_selector.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/color/double_date_picker_button_text_selector.xml b/singledateandtimepicker/src/main/res/color/double_date_picker_button_text_selector.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/color/double_date_picker_button_text_selector_ios.xml b/singledateandtimepicker/src/main/res/color/double_date_picker_button_text_selector_ios.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/drawable/double_date_picker_button_background_selector.xml b/singledateandtimepicker/src/main/res/drawable/double_date_picker_button_background_selector.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/drawable/double_date_picker_button_background_selector_ios.xml b/singledateandtimepicker/src/main/res/drawable/double_date_picker_button_background_selector_ios.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/drawable/picker_divider.xml b/singledateandtimepicker/src/main/res/drawable/picker_divider.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/layout-v21/bottom_sheet_picker_bottom_sheet.xml b/singledateandtimepicker/src/main/res/layout-v21/bottom_sheet_picker_bottom_sheet.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/layout/bottom_sheet_double_picker.xml b/singledateandtimepicker/src/main/res/layout/bottom_sheet_double_picker.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/layout/bottom_sheet_double_picker_bottom_sheet.xml b/singledateandtimepicker/src/main/res/layout/bottom_sheet_double_picker_bottom_sheet.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/layout/bottom_sheet_picker.xml b/singledateandtimepicker/src/main/res/layout/bottom_sheet_picker.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/layout/bottom_sheet_picker_bottom_sheet.xml b/singledateandtimepicker/src/main/res/layout/bottom_sheet_picker_bottom_sheet.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/layout/single_day_and_time_picker.xml b/singledateandtimepicker/src/main/res/layout/single_day_and_time_picker.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-ca/strings.xml b/singledateandtimepicker/src/main/res/values-ca/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-cs/strings.xml b/singledateandtimepicker/src/main/res/values-cs/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-da/strings.xml b/singledateandtimepicker/src/main/res/values-da/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-de/strings.xml b/singledateandtimepicker/src/main/res/values-de/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-es/strings.xml b/singledateandtimepicker/src/main/res/values-es/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-fi/strings.xml b/singledateandtimepicker/src/main/res/values-fi/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-fr/strings.xml b/singledateandtimepicker/src/main/res/values-fr/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-id/strings.xml b/singledateandtimepicker/src/main/res/values-id/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-it/strings.xml b/singledateandtimepicker/src/main/res/values-it/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-ko/strings.xml b/singledateandtimepicker/src/main/res/values-ko/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-lt/strings.xml b/singledateandtimepicker/src/main/res/values-lt/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-ms/strings.xml b/singledateandtimepicker/src/main/res/values-ms/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-nb/strings.xml b/singledateandtimepicker/src/main/res/values-nb/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-pt/strings.xml b/singledateandtimepicker/src/main/res/values-pt/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-ru/strings.xml b/singledateandtimepicker/src/main/res/values-ru/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-sv/strings.xml b/singledateandtimepicker/src/main/res/values-sv/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-th/strings.xml b/singledateandtimepicker/src/main/res/values-th/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-tr/strings.xml b/singledateandtimepicker/src/main/res/values-tr/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-uk/strings.xml b/singledateandtimepicker/src/main/res/values-uk/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-vi/strings.xml b/singledateandtimepicker/src/main/res/values-vi/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values-zh/strings.xml b/singledateandtimepicker/src/main/res/values-zh/strings.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values/attrs.xml b/singledateandtimepicker/src/main/res/values/attrs.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values/colors.xml b/singledateandtimepicker/src/main/res/values/colors.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values/dimens.xml b/singledateandtimepicker/src/main/res/values/dimens.xml old mode 100644 new mode 100755 diff --git a/singledateandtimepicker/src/main/res/values/strings.xml b/singledateandtimepicker/src/main/res/values/strings.xml old mode 100644 new mode 100755