diff --git a/library/src/main/java/com/vlonjatg/progressactivity/ProgressFrameLayout.java b/library/src/main/java/com/vlonjatg/progressactivity/ProgressFrameLayout.java
index 9994606..d063e1e 100644
--- a/library/src/main/java/com/vlonjatg/progressactivity/ProgressFrameLayout.java
+++ b/library/src/main/java/com/vlonjatg/progressactivity/ProgressFrameLayout.java
@@ -107,7 +107,7 @@ private void init(AttributeSet attrs) {
typedArray.getDimensionPixelSize(R.styleable.ProgressActivity_loadingProgressBarHeight, 108);
loadingStateProgressBarColor =
- typedArray.getColor(R.styleable.ProgressActivity_loadingStateProgressBarColor, Color.RED);
+ typedArray.getColor(R.styleable.ProgressActivity_loadingProgressBarColor, Color.RED);
loadingStateBackgroundColor =
typedArray.getColor(R.styleable.ProgressActivity_loadingBackgroundColor, Color.TRANSPARENT);
diff --git a/library/src/main/java/com/vlonjatg/progressactivity/ProgressLinearLayout.java b/library/src/main/java/com/vlonjatg/progressactivity/ProgressLinearLayout.java
index 70db0da..13d7ecb 100644
--- a/library/src/main/java/com/vlonjatg/progressactivity/ProgressLinearLayout.java
+++ b/library/src/main/java/com/vlonjatg/progressactivity/ProgressLinearLayout.java
@@ -104,7 +104,7 @@ private void init(AttributeSet attrs) {
typedArray.getDimensionPixelSize(R.styleable.ProgressActivity_loadingProgressBarHeight, 108);
loadingStateProgressBarColor =
- typedArray.getColor(R.styleable.ProgressActivity_loadingStateProgressBarColor, Color.RED);
+ typedArray.getColor(R.styleable.ProgressActivity_loadingProgressBarColor, Color.RED);
loadingStateBackgroundColor =
typedArray.getColor(R.styleable.ProgressActivity_loadingBackgroundColor, Color.TRANSPARENT);
diff --git a/library/src/main/java/com/vlonjatg/progressactivity/ProgressRelativeLayout.java b/library/src/main/java/com/vlonjatg/progressactivity/ProgressRelativeLayout.java
index 85d9d9c..c7c8fc4 100644
--- a/library/src/main/java/com/vlonjatg/progressactivity/ProgressRelativeLayout.java
+++ b/library/src/main/java/com/vlonjatg/progressactivity/ProgressRelativeLayout.java
@@ -103,7 +103,7 @@ private void init(AttributeSet attrs) {
typedArray.getDimensionPixelSize(R.styleable.ProgressActivity_loadingProgressBarHeight, 108);
loadingStateProgressBarColor =
- typedArray.getColor(R.styleable.ProgressActivity_loadingStateProgressBarColor, Color.RED);
+ typedArray.getColor(R.styleable.ProgressActivity_loadingProgressBarColor, Color.RED);
loadingStateBackgroundColor =
typedArray.getColor(R.styleable.ProgressActivity_loadingBackgroundColor, Color.TRANSPARENT);
diff --git a/library/src/main/res/values/attrs.xml b/library/src/main/res/values/attrs.xml
index 7d5fef5..354eb66 100644
--- a/library/src/main/res/values/attrs.xml
+++ b/library/src/main/res/values/attrs.xml
@@ -2,27 +2,27 @@
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sample/src/main/res/layout/activity_details.xml b/sample/src/main/res/layout/activity_details.xml
index dae1174..41b0d36 100644
--- a/sample/src/main/res/layout/activity_details.xml
+++ b/sample/src/main/res/layout/activity_details.xml
@@ -8,12 +8,12 @@
progressActivity:emptyContentTextColor="#FFFFFF"
progressActivity:emptyTitleTextColor="#FFFFFF"
progressActivity:errorBackgroundColor="#42a5f5"
+ progressActivity:errorButtonBackgroundColor="#9C27B0"
progressActivity:errorButtonTextColor="#FFFFFF"
progressActivity:errorContentTextColor="#FFFFFF"
progressActivity:errorTitleTextColor="#FFFFFF"
- progressActivity:errorButtonBackgroundColor="#9C27B0"
progressActivity:loadingBackgroundColor="#FFFFFF"
- progressActivity:loadingStateProgressBarColor="#9C27B0">
+ progressActivity:loadingProgressBarColor="#9C27B0">