From 63c6f7e524c0409beb4066c64181df1908f60f8b Mon Sep 17 00:00:00 2001 From: Pham Hong Viet Date: Wed, 12 Jun 2019 13:07:44 +0700 Subject: [PATCH] migrate to AndroidX --- .idea/gradle.xml | 11 +-- app/app.iml | 97 +++++++++++++------ app/build.gradle | 18 ++-- .../com/rey/material/app/ContactEditText.java | 2 +- .../com/rey/material/app/ContactView.java | 5 +- .../material/app/RecurringPickerDialog.java | 3 +- .../java/com/rey/material/app/WeekView.java | 7 +- .../com/rey/material/demo/ButtonFragment.java | 14 +-- .../rey/material/demo/CustomViewPager.java | 5 +- .../rey/material/demo/DialogsFragment.java | 4 +- .../com/rey/material/demo/FabFragment.java | 2 +- .../com/rey/material/demo/MainActivity.java | 36 +++---- .../rey/material/demo/ProgressFragment.java | 2 +- .../com/rey/material/demo/SliderFragment.java | 2 +- .../rey/material/demo/SnackbarFragment.java | 2 +- .../rey/material/demo/SpinnersFragment.java | 2 +- .../rey/material/demo/SwitchesFragment.java | 2 +- .../rey/material/demo/TextfieldFragment.java | 2 +- app/src/main/res/layout/activity_main.xml | 6 +- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 4 +- gradlew | 0 material/build.gradle | 14 +-- .../appcompat}/widget/ListViewCompat.java | 18 ++-- .../java/com/rey/material/app/Dialog.java | 7 +- .../com/rey/material/app/DialogFragment.java | 4 +- .../com/rey/material/app/SimpleDialog.java | 3 +- .../com/rey/material/app/ThemeManager.java | 7 +- .../com/rey/material/app/ToolbarManager.java | 15 +-- .../drawable/LineMorphingDrawable.java | 5 +- .../material/drawable/PaddingDrawable.java | 3 +- .../java/com/rey/material/widget/Button.java | 5 +- .../rey/material/widget/CheckedTextView.java | 5 +- .../widget/CircleCheckedTextView.java | 3 +- .../rey/material/widget/CompoundButton.java | 2 +- .../com/rey/material/widget/EditText.java | 15 +-- .../material/widget/FloatingActionButton.java | 2 +- .../com/rey/material/widget/FrameLayout.java | 2 +- .../com/rey/material/widget/ImageButton.java | 5 +- .../com/rey/material/widget/ImageView.java | 5 +- .../com/rey/material/widget/LinearLayout.java | 2 +- .../rey/material/widget/ListPopupWindow.java | 11 ++- .../com/rey/material/widget/ListView.java | 3 +- .../com/rey/material/widget/ProgressView.java | 2 +- .../rey/material/widget/RelativeLayout.java | 2 +- .../java/com/rey/material/widget/Slider.java | 2 +- .../java/com/rey/material/widget/Spinner.java | 2 +- .../java/com/rey/material/widget/Switch.java | 2 +- .../rey/material/widget/TabIndicatorView.java | 11 ++- .../rey/material/widget/TabPageIndicator.java | 9 +- .../com/rey/material/widget/TextView.java | 5 +- .../com/rey/material/widget/TimePicker.java | 2 +- .../com/rey/material/widget/YearPicker.java | 3 +- 53 files changed, 225 insertions(+), 179 deletions(-) mode change 100644 => 100755 gradlew rename material/src/main/java/{android/support/v7 => androidx/appcompat}/widget/ListViewCompat.java (97%) diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 4d302ff4..24de682b 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -3,6 +3,9 @@ diff --git a/app/app.iml b/app/app.iml index f38e504e..1291214c 100644 --- a/app/app.iml +++ b/app/app.iml @@ -17,28 +17,27 @@