diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser
index 9e311ee..8082d93 100644
Binary files a/.idea/caches/build_file_checksums.ser and b/.idea/caches/build_file_checksums.ser differ
diff --git a/.idea/caches/gradle_models.ser b/.idea/caches/gradle_models.ser
index 6e8449c..fd9da97 100644
Binary files a/.idea/caches/gradle_models.ser and b/.idea/caches/gradle_models.ser differ
diff --git a/gradle.properties b/gradle.properties
index aac7c9b..9e6fce1 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -9,6 +9,8 @@
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
+android.enableJetifier=true
+android.useAndroidX=true
org.gradle.jvmargs=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
diff --git a/library/build.gradle b/library/build.gradle
index bdc6398..1991a91 100644
--- a/library/build.gradle
+++ b/library/build.gradle
@@ -21,7 +21,7 @@ android {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'com.android.support:appcompat-v7:28.+'
- implementation 'com.android.support:cardview-v7:28.+'
- implementation 'com.android.support:design:28.+'
+ implementation 'androidx.appcompat:appcompat:1.0.2'
+ implementation 'androidx.cardview:cardview:1.0.0'
+ implementation 'com.google.android.material:material:1.0.0'
}
diff --git a/library/src/androidTest/java/io/rmiri/skeleton/ExampleInstrumentedTest.java b/library/src/androidTest/java/io/rmiri/skeleton/ExampleInstrumentedTest.java
index 82baca5..d289762 100644
--- a/library/src/androidTest/java/io/rmiri/skeleton/ExampleInstrumentedTest.java
+++ b/library/src/androidTest/java/io/rmiri/skeleton/ExampleInstrumentedTest.java
@@ -1,25 +1,16 @@
-package miri.io.skeleton;
-
-import android.content.Context;
-import android.support.test.InstrumentationRegistry;
-import android.support.test.runner.AndroidJUnit4;
-
-import org.junit.Test;
-import org.junit.runner.RunWith;
-
-import static org.junit.Assert.*;
+package io.rmiri.skeleton;
/**
* Instrumentation test, which will execute on an Android device.
*
* @see Testing documentation
*/
-@RunWith(AndroidJUnit4.class)
-public class ExampleInstrumentedTest {
- @Test
- public void useAppContext() throws Exception {
- // Context of the app under test.
- Context appContext = InstrumentationRegistry.getTargetContext();
-
- }
-}
+//@RunWith(AndroidJUnit4.class)
+//public class ExampleInstrumentedTest {
+// @Test
+// public void useAppContext() throws Exception {
+// // Context of the app under test.
+// Context appContext = InstrumentationRegistry.getTargetContext();
+//
+// }
+//}
diff --git a/library/src/main/java/io/rmiri/skeleton/SkeletonView.java b/library/src/main/java/io/rmiri/skeleton/SkeletonView.java
index f158063..d1418c3 100644
--- a/library/src/main/java/io/rmiri/skeleton/SkeletonView.java
+++ b/library/src/main/java/io/rmiri/skeleton/SkeletonView.java
@@ -2,11 +2,11 @@
import android.content.Context;
import android.os.Build;
-import android.support.annotation.AttrRes;
-import android.support.annotation.NonNull;
-import android.support.annotation.Nullable;
-import android.support.annotation.RequiresApi;
-import android.support.annotation.StyleRes;
+import androidx.annotation.AttrRes;
+import androidx.annotation.NonNull;
+import androidx.annotation.Nullable;
+import androidx.annotation.RequiresApi;
+import androidx.annotation.StyleRes;
import android.util.AttributeSet;
import io.rmiri.skeleton.master.SkeletonMaster;
diff --git a/library/src/main/java/io/rmiri/skeleton/SkeletonViewGroup.java b/library/src/main/java/io/rmiri/skeleton/SkeletonViewGroup.java
index 9309aa3..aef186b 100644
--- a/library/src/main/java/io/rmiri/skeleton/SkeletonViewGroup.java
+++ b/library/src/main/java/io/rmiri/skeleton/SkeletonViewGroup.java
@@ -11,11 +11,11 @@
import android.graphics.RectF;
import android.graphics.Shader;
import android.os.Build;
-import android.support.annotation.AttrRes;
-import android.support.annotation.NonNull;
-import android.support.annotation.Nullable;
-import android.support.annotation.RequiresApi;
-import android.support.annotation.StyleRes;
+import androidx.annotation.AttrRes;
+import androidx.annotation.NonNull;
+import androidx.annotation.Nullable;
+import androidx.annotation.RequiresApi;
+import androidx.annotation.StyleRes;
import android.util.AttributeSet;
import android.util.Log;
import android.util.Pair;
diff --git a/library/src/main/java/io/rmiri/skeleton/master/AdapterSkeleton.java b/library/src/main/java/io/rmiri/skeleton/master/AdapterSkeleton.java
index 0503895..c46fa0e 100644
--- a/library/src/main/java/io/rmiri/skeleton/master/AdapterSkeleton.java
+++ b/library/src/main/java/io/rmiri/skeleton/master/AdapterSkeleton.java
@@ -1,7 +1,7 @@
package io.rmiri.skeleton.master;
import android.content.Context;
-import android.support.v7.widget.RecyclerView;
+import androidx.recyclerview.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewTreeObserver;
diff --git a/library/src/main/java/io/rmiri/skeleton/master/SkeletonConfig.java b/library/src/main/java/io/rmiri/skeleton/master/SkeletonConfig.java
index da7fda3..35e3936 100644
--- a/library/src/main/java/io/rmiri/skeleton/master/SkeletonConfig.java
+++ b/library/src/main/java/io/rmiri/skeleton/master/SkeletonConfig.java
@@ -1,6 +1,6 @@
package io.rmiri.skeleton.master;
-import android.support.v7.widget.RecyclerView;
+import androidx.recyclerview.widget.RecyclerView;
/**
* Created by Rasoul Miri on 8/22/17.
diff --git a/library/src/main/java/io/rmiri/skeleton/master/SkeletonMaster.java b/library/src/main/java/io/rmiri/skeleton/master/SkeletonMaster.java
index f9d7fc4..118f3b1 100644
--- a/library/src/main/java/io/rmiri/skeleton/master/SkeletonMaster.java
+++ b/library/src/main/java/io/rmiri/skeleton/master/SkeletonMaster.java
@@ -3,11 +3,11 @@
import android.content.Context;
import android.content.res.TypedArray;
import android.os.Build;
-import android.support.annotation.AttrRes;
-import android.support.annotation.NonNull;
-import android.support.annotation.Nullable;
-import android.support.annotation.RequiresApi;
-import android.support.annotation.StyleRes;
+import androidx.annotation.AttrRes;
+import androidx.annotation.NonNull;
+import androidx.annotation.Nullable;
+import androidx.annotation.RequiresApi;
+import androidx.annotation.StyleRes;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
diff --git a/library/src/test/java/io/rmiri/skeleton/ExampleUnitTest.java b/library/src/test/java/io/rmiri/skeleton/ExampleUnitTest.java
index 736b014..020df9a 100644
--- a/library/src/test/java/io/rmiri/skeleton/ExampleUnitTest.java
+++ b/library/src/test/java/io/rmiri/skeleton/ExampleUnitTest.java
@@ -1,17 +1,13 @@
package io.rmiri.skeleton;
-import org.junit.Test;
-
-import static org.junit.Assert.*;
-
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see Testing documentation
*/
-public class ExampleUnitTest {
- @Test
- public void addition_isCorrect() throws Exception {
- assertEquals(4, 2 + 2);
- }
-}
\ No newline at end of file
+//public class ExampleUnitTest {
+// @Test
+// public void addition_isCorrect() throws Exception {
+// assertEquals(4, 2 + 2);
+// }
+//}
\ No newline at end of file
diff --git a/sample/build.gradle b/sample/build.gradle
index 2cb043d..9b65f90 100644
--- a/sample/build.gradle
+++ b/sample/build.gradle
@@ -9,7 +9,7 @@ android {
targetSdkVersion 28
versionCode 1
versionName "1.0.0"
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
// Vector support for lower 21
vectorDrawables.useSupportLibrary true
@@ -25,9 +25,9 @@ android {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'com.android.support:appcompat-v7:28.+'
- implementation 'com.android.support:cardview-v7:28.+'
- implementation 'com.android.support:design:28.+'
- implementation 'com.squareup.picasso:picasso:2.5.2'
implementation project(':library')
+ implementation 'androidx.appcompat:appcompat:1.0.2'
+ implementation 'androidx.cardview:cardview:1.0.0'
+ implementation 'com.google.android.material:material:1.0.0'
+ implementation 'com.squareup.picasso:picasso:2.5.2'
}
diff --git a/sample/src/main/java/io/rmiri/skeleton/sample/activity/MainActivity.java b/sample/src/main/java/io/rmiri/skeleton/sample/activity/MainActivity.java
index 25e3bda..9372f9e 100644
--- a/sample/src/main/java/io/rmiri/skeleton/sample/activity/MainActivity.java
+++ b/sample/src/main/java/io/rmiri/skeleton/sample/activity/MainActivity.java
@@ -2,10 +2,11 @@
import android.content.Intent;
import android.os.Bundle;
-import android.support.v7.app.AppCompatActivity;
-import android.support.v7.widget.AppCompatButton;
import android.view.View;
+import androidx.appcompat.app.AppCompatActivity;
+import androidx.appcompat.widget.AppCompatButton;
+
import io.rmiri.skeleton.sample.R;
import io.rmiri.skeleton.sample.activity.java.AddViewsByJavaActivity;
import io.rmiri.skeleton.sample.activity.java.GradientJavaActivity;
@@ -41,7 +42,6 @@ protected void onCreate(Bundle savedInstanceState) {
sampleGradientJavaBtn.setOnClickListener(this);
sampleAddViewsByJavaBtn.setOnClickListener(this);
- startActivity(new Intent(this, AddViewsByJavaActivity.class));
}
@Override
diff --git a/sample/src/main/java/io/rmiri/skeleton/sample/activity/java/AddViewsByJavaActivity.java b/sample/src/main/java/io/rmiri/skeleton/sample/activity/java/AddViewsByJavaActivity.java
index 4894ec7..8878e3f 100644
--- a/sample/src/main/java/io/rmiri/skeleton/sample/activity/java/AddViewsByJavaActivity.java
+++ b/sample/src/main/java/io/rmiri/skeleton/sample/activity/java/AddViewsByJavaActivity.java
@@ -1,9 +1,9 @@
package io.rmiri.skeleton.sample.activity.java;
import android.os.Bundle;
-import android.support.v7.app.AppCompatActivity;
-import android.support.v7.widget.AppCompatImageButton;
-import android.support.v7.widget.Toolbar;
+import androidx.appcompat.app.AppCompatActivity;
+import androidx.appcompat.widget.AppCompatImageButton;
+import androidx.appcompat.widget.Toolbar;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;
diff --git a/sample/src/main/java/io/rmiri/skeleton/sample/activity/java/GradientJavaActivity.java b/sample/src/main/java/io/rmiri/skeleton/sample/activity/java/GradientJavaActivity.java
index 2a79000..acd5e45 100644
--- a/sample/src/main/java/io/rmiri/skeleton/sample/activity/java/GradientJavaActivity.java
+++ b/sample/src/main/java/io/rmiri/skeleton/sample/activity/java/GradientJavaActivity.java
@@ -2,10 +2,10 @@
import android.os.Bundle;
import android.os.Handler;
-import android.support.v7.app.AppCompatActivity;
-import android.support.v7.widget.LinearLayoutManager;
-import android.support.v7.widget.RecyclerView;
-import android.support.v7.widget.Toolbar;
+import androidx.appcompat.app.AppCompatActivity;
+import androidx.recyclerview.widget.LinearLayoutManager;
+import androidx.recyclerview.widget.RecyclerView;
+import androidx.appcompat.widget.Toolbar;
import android.view.View;
import java.util.ArrayList;
diff --git a/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/AutoItemsCountXmlActivity.java b/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/AutoItemsCountXmlActivity.java
index cef4686..9845587 100644
--- a/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/AutoItemsCountXmlActivity.java
+++ b/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/AutoItemsCountXmlActivity.java
@@ -2,10 +2,10 @@
import android.os.Bundle;
import android.os.Handler;
-import android.support.v7.app.AppCompatActivity;
-import android.support.v7.widget.LinearLayoutManager;
-import android.support.v7.widget.RecyclerView;
-import android.support.v7.widget.Toolbar;
+import androidx.appcompat.app.AppCompatActivity;
+import androidx.recyclerview.widget.LinearLayoutManager;
+import androidx.recyclerview.widget.RecyclerView;
+import androidx.appcompat.widget.Toolbar;
import android.view.View;
import java.util.ArrayList;
diff --git a/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/Fade1XmlActivity.java b/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/Fade1XmlActivity.java
index b20ce84..aa92ddc 100644
--- a/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/Fade1XmlActivity.java
+++ b/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/Fade1XmlActivity.java
@@ -2,10 +2,10 @@
import android.os.Bundle;
import android.os.Handler;
-import android.support.v7.app.AppCompatActivity;
-import android.support.v7.widget.LinearLayoutManager;
-import android.support.v7.widget.RecyclerView;
-import android.support.v7.widget.Toolbar;
+import androidx.appcompat.app.AppCompatActivity;
+import androidx.recyclerview.widget.LinearLayoutManager;
+import androidx.recyclerview.widget.RecyclerView;
+import androidx.appcompat.widget.Toolbar;
import android.view.View;
import java.util.ArrayList;
diff --git a/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/FadeXml2Activity.java b/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/FadeXml2Activity.java
index 1f53b14..12dedd1 100644
--- a/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/FadeXml2Activity.java
+++ b/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/FadeXml2Activity.java
@@ -2,10 +2,10 @@
import android.os.Bundle;
import android.os.Handler;
-import android.support.v7.app.AppCompatActivity;
-import android.support.v7.widget.LinearLayoutManager;
-import android.support.v7.widget.RecyclerView;
-import android.support.v7.widget.Toolbar;
+import androidx.appcompat.app.AppCompatActivity;
+import androidx.recyclerview.widget.LinearLayoutManager;
+import androidx.recyclerview.widget.RecyclerView;
+import androidx.appcompat.widget.Toolbar;
import android.view.View;
import java.util.ArrayList;
diff --git a/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/GradientXmlActivity.java b/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/GradientXmlActivity.java
index 14b6aee..fd45e44 100644
--- a/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/GradientXmlActivity.java
+++ b/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/GradientXmlActivity.java
@@ -2,10 +2,10 @@
import android.os.Bundle;
import android.os.Handler;
-import android.support.v7.app.AppCompatActivity;
-import android.support.v7.widget.LinearLayoutManager;
-import android.support.v7.widget.RecyclerView;
-import android.support.v7.widget.Toolbar;
+import androidx.appcompat.app.AppCompatActivity;
+import androidx.recyclerview.widget.LinearLayoutManager;
+import androidx.recyclerview.widget.RecyclerView;
+import androidx.appcompat.widget.Toolbar;
import android.view.View;
import java.util.ArrayList;
diff --git a/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/ShapeXmlActivity.java b/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/ShapeXmlActivity.java
index dbc7a0d..e5cc419 100644
--- a/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/ShapeXmlActivity.java
+++ b/sample/src/main/java/io/rmiri/skeleton/sample/activity/xml/ShapeXmlActivity.java
@@ -2,8 +2,8 @@
import android.os.Bundle;
import android.os.Handler;
-import android.support.v7.app.AppCompatActivity;
-import android.support.v7.widget.Toolbar;
+import androidx.appcompat.app.AppCompatActivity;
+import androidx.appcompat.widget.Toolbar;
import android.view.View;
import android.widget.TextView;
diff --git a/sample/src/main/java/io/rmiri/skeleton/sample/adapter/java/AdapterGradientJava.java b/sample/src/main/java/io/rmiri/skeleton/sample/adapter/java/AdapterGradientJava.java
index 3f44f98..6f33e1a 100644
--- a/sample/src/main/java/io/rmiri/skeleton/sample/adapter/java/AdapterGradientJava.java
+++ b/sample/src/main/java/io/rmiri/skeleton/sample/adapter/java/AdapterGradientJava.java
@@ -2,10 +2,10 @@
import android.content.Context;
-import android.support.v7.widget.AppCompatImageButton;
-import android.support.v7.widget.AppCompatImageView;
-import android.support.v7.widget.CardView;
-import android.support.v7.widget.RecyclerView;
+import androidx.appcompat.widget.AppCompatImageButton;
+import androidx.appcompat.widget.AppCompatImageView;
+import androidx.cardview.widget.CardView;
+import androidx.recyclerview.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
diff --git a/sample/src/main/java/io/rmiri/skeleton/sample/adapter/xml/AdapterAutoItemsCountXml.java b/sample/src/main/java/io/rmiri/skeleton/sample/adapter/xml/AdapterAutoItemsCountXml.java
index e7c428e..5ae59da 100644
--- a/sample/src/main/java/io/rmiri/skeleton/sample/adapter/xml/AdapterAutoItemsCountXml.java
+++ b/sample/src/main/java/io/rmiri/skeleton/sample/adapter/xml/AdapterAutoItemsCountXml.java
@@ -2,7 +2,7 @@
import android.content.Context;
-import android.support.v7.widget.RecyclerView;
+import androidx.recyclerview.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
diff --git a/sample/src/main/java/io/rmiri/skeleton/sample/adapter/xml/AdapterFadeXml1.java b/sample/src/main/java/io/rmiri/skeleton/sample/adapter/xml/AdapterFadeXml1.java
index c3725a8..e8862e0 100644
--- a/sample/src/main/java/io/rmiri/skeleton/sample/adapter/xml/AdapterFadeXml1.java
+++ b/sample/src/main/java/io/rmiri/skeleton/sample/adapter/xml/AdapterFadeXml1.java
@@ -2,10 +2,10 @@
import android.content.Context;
-import android.support.v7.widget.AppCompatImageButton;
-import android.support.v7.widget.AppCompatImageView;
-import android.support.v7.widget.CardView;
-import android.support.v7.widget.RecyclerView;
+import androidx.appcompat.widget.AppCompatImageButton;
+import androidx.appcompat.widget.AppCompatImageView;
+import androidx.cardview.widget.CardView;
+import androidx.recyclerview.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
diff --git a/sample/src/main/java/io/rmiri/skeleton/sample/adapter/xml/AdapterFadeXml2.java b/sample/src/main/java/io/rmiri/skeleton/sample/adapter/xml/AdapterFadeXml2.java
index 6a852ef..cc459fd 100644
--- a/sample/src/main/java/io/rmiri/skeleton/sample/adapter/xml/AdapterFadeXml2.java
+++ b/sample/src/main/java/io/rmiri/skeleton/sample/adapter/xml/AdapterFadeXml2.java
@@ -2,10 +2,10 @@
import android.content.Context;
-import android.support.v7.widget.AppCompatImageButton;
-import android.support.v7.widget.AppCompatImageView;
-import android.support.v7.widget.CardView;
-import android.support.v7.widget.RecyclerView;
+import androidx.appcompat.widget.AppCompatImageButton;
+import androidx.appcompat.widget.AppCompatImageView;
+import androidx.cardview.widget.CardView;
+import androidx.recyclerview.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
diff --git a/sample/src/main/java/io/rmiri/skeleton/sample/adapter/xml/AdapterGradientXml.java b/sample/src/main/java/io/rmiri/skeleton/sample/adapter/xml/AdapterGradientXml.java
index 614cdee..058ba0c 100644
--- a/sample/src/main/java/io/rmiri/skeleton/sample/adapter/xml/AdapterGradientXml.java
+++ b/sample/src/main/java/io/rmiri/skeleton/sample/adapter/xml/AdapterGradientXml.java
@@ -2,10 +2,10 @@
import android.content.Context;
-import android.support.v7.widget.AppCompatImageButton;
-import android.support.v7.widget.AppCompatImageView;
-import android.support.v7.widget.CardView;
-import android.support.v7.widget.RecyclerView;
+import androidx.appcompat.widget.AppCompatImageButton;
+import androidx.appcompat.widget.AppCompatImageView;
+import androidx.cardview.widget.CardView;
+import androidx.recyclerview.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
diff --git a/sample/src/main/res/layout/activity_add_views_by_java.xml b/sample/src/main/res/layout/activity_add_views_by_java.xml
index 511b15e..d7d841a 100644
--- a/sample/src/main/res/layout/activity_add_views_by_java.xml
+++ b/sample/src/main/res/layout/activity_add_views_by_java.xml
@@ -7,7 +7,7 @@
android:fitsSystemWindows="true"
android:orientation="vertical">
-
-
-
-
-
-
-
-
-
-
-
diff --git a/sample/src/main/res/layout/activity_fade_1_xml.xml b/sample/src/main/res/layout/activity_fade_1_xml.xml
index 15ce61c..484e42d 100644
--- a/sample/src/main/res/layout/activity_fade_1_xml.xml
+++ b/sample/src/main/res/layout/activity_fade_1_xml.xml
@@ -6,7 +6,7 @@
android:fitsSystemWindows="true"
android:orientation="vertical">
-
-
diff --git a/sample/src/main/res/layout/activity_fade_xml_2.xml b/sample/src/main/res/layout/activity_fade_xml_2.xml
index 15ce61c..484e42d 100644
--- a/sample/src/main/res/layout/activity_fade_xml_2.xml
+++ b/sample/src/main/res/layout/activity_fade_xml_2.xml
@@ -6,7 +6,7 @@
android:fitsSystemWindows="true"
android:orientation="vertical">
-
-
diff --git a/sample/src/main/res/layout/activity_gradient_java.xml b/sample/src/main/res/layout/activity_gradient_java.xml
index 15ce61c..484e42d 100644
--- a/sample/src/main/res/layout/activity_gradient_java.xml
+++ b/sample/src/main/res/layout/activity_gradient_java.xml
@@ -6,7 +6,7 @@
android:fitsSystemWindows="true"
android:orientation="vertical">
-
-
diff --git a/sample/src/main/res/layout/activity_gradient_xml.xml b/sample/src/main/res/layout/activity_gradient_xml.xml
index 15ce61c..484e42d 100644
--- a/sample/src/main/res/layout/activity_gradient_xml.xml
+++ b/sample/src/main/res/layout/activity_gradient_xml.xml
@@ -6,7 +6,7 @@
android:fitsSystemWindows="true"
android:orientation="vertical">
-
-
diff --git a/sample/src/main/res/layout/activity_main.xml b/sample/src/main/res/layout/activity_main.xml
index 2a6d5a9..485c9a4 100644
--- a/sample/src/main/res/layout/activity_main.xml
+++ b/sample/src/main/res/layout/activity_main.xml
@@ -6,7 +6,7 @@
android:fitsSystemWindows="true"
android:orientation="vertical">
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/sample/src/main/res/layout/item_fade_xml_1.xml b/sample/src/main/res/layout/item_fade_xml_1.xml
index a58cef1..1e80bff 100644
--- a/sample/src/main/res/layout/item_fade_xml_1.xml
+++ b/sample/src/main/res/layout/item_fade_xml_1.xml
@@ -1,4 +1,4 @@
-
-
-
-
-
-
+
diff --git a/sample/src/main/res/layout/item_fade_xml_2.xml b/sample/src/main/res/layout/item_fade_xml_2.xml
index d0ca9ca..8666d61 100644
--- a/sample/src/main/res/layout/item_fade_xml_2.xml
+++ b/sample/src/main/res/layout/item_fade_xml_2.xml
@@ -1,4 +1,4 @@
-
-
-
-
-
-
+
diff --git a/sample/src/main/res/layout/item_gradient_java.xml b/sample/src/main/res/layout/item_gradient_java.xml
index bd9d0c6..723756a 100644
--- a/sample/src/main/res/layout/item_gradient_java.xml
+++ b/sample/src/main/res/layout/item_gradient_java.xml
@@ -1,4 +1,4 @@
-
-
-
-
-
-
+
diff --git a/sample/src/main/res/layout/item_gradient_xml.xml b/sample/src/main/res/layout/item_gradient_xml.xml
index 0b6a2be..971d3f7 100644
--- a/sample/src/main/res/layout/item_gradient_xml.xml
+++ b/sample/src/main/res/layout/item_gradient_xml.xml
@@ -1,4 +1,4 @@
-
-
-
-
-
-
+