diff --git a/.gitignore b/.gitignore index 39fb081..411a8f2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ *.iml .gradle /local.properties +.idea/* +/.idea/* /.idea/workspace.xml /.idea/libraries .DS_Store diff --git a/README.md b/README.md index f08b690..39faa86 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ allprojects { Add the dependency: ```Groovy dependencies { - compile 'com.github.yalantis:jellytoolbar:v1.0' + implementation 'com.github.yalantis:jellytoolbar:v1.0.1' } ``` diff --git a/build.gradle b/build.gradle index 7114aa0..979c2a9 100644 --- a/build.gradle +++ b/build.gradle @@ -1,12 +1,13 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.0.4' + ext.kotlin_version = '1.7.10' repositories { - jcenter() + google() + mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:2.2.3' + classpath 'com.android.tools.build:gradle:7.3.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong @@ -16,7 +17,8 @@ buildscript { allprojects { repositories { - jcenter() + google() + mavenCentral() } } diff --git a/demo/build.gradle b/demo/build.gradle index dbc392a..2dd7cc7 100644 --- a/demo/build.gradle +++ b/demo/build.gradle @@ -1,15 +1,15 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 24 - buildToolsVersion '25.0.2' + compileSdkVersion 33 + buildToolsVersion '30.0.3' defaultConfig { applicationId "com.yalantis.jellyanimation.demo" minSdkVersion 16 - targetSdkVersion 24 - versionCode 1 - versionName "1.0" + targetSdkVersion 33 + versionCode 2 + versionName "1.0.1" } signingConfigs { @@ -30,7 +30,8 @@ android { } dependencies { - compile fileTree(include: ['*.jar'], dir: 'libs') - compile 'com.android.support:appcompat-v7:24.2.1' - compile project(':library') + implementation fileTree(include: ['*.jar'], dir: 'libs') + implementation project(':library') + + implementation "androidx.appcompat:appcompat:1.5.1" } diff --git a/demo/src/main/AndroidManifest.xml b/demo/src/main/AndroidManifest.xml index f4b244b..9ee4f0f 100644 --- a/demo/src/main/AndroidManifest.xml +++ b/demo/src/main/AndroidManifest.xml @@ -9,6 +9,7 @@ android:supportsRtl="true" android:theme="@style/AppTheme"> diff --git a/demo/src/main/java/com/yalantis/jellyanimation/demo/MainActivity.java b/demo/src/main/java/com/yalantis/jellyanimation/demo/MainActivity.java index 22d7dd9..b09017a 100644 --- a/demo/src/main/java/com/yalantis/jellyanimation/demo/MainActivity.java +++ b/demo/src/main/java/com/yalantis/jellyanimation/demo/MainActivity.java @@ -1,12 +1,13 @@ package com.yalantis.jellyanimation.demo; import android.os.Bundle; -import android.support.v7.app.AppCompatActivity; -import android.support.v7.widget.AppCompatEditText; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; +import androidx.appcompat.app.AppCompatActivity; +import androidx.appcompat.widget.AppCompatEditText; + import com.yalantis.jellytoolbar.listener.JellyListener; import com.yalantis.jellytoolbar.widget.JellyToolbar; diff --git a/demo/src/main/res/layout/edit_text.xml b/demo/src/main/res/layout/edit_text.xml index a42b3b9..8faec98 100644 --- a/demo/src/main/res/layout/edit_text.xml +++ b/demo/src/main/res/layout/edit_text.xml @@ -1,5 +1,5 @@ - - diff --git a/library/src/main/res/layout/layout_content.xml b/library/src/main/res/layout/layout_content.xml index cfda723..1296cba 100644 --- a/library/src/main/res/layout/layout_content.xml +++ b/library/src/main/res/layout/layout_content.xml @@ -5,11 +5,11 @@ android:paddingLeft="@dimen/icon_padding" android:paddingRight="@dimen/icon_padding"> - -