diff --git a/sweetalertdialog/src/main/java/com/simorgh/sweetalertdialog/Rotate3dAnimation.java b/sweetalertdialog/src/main/java/com/simorgh/sweetalertdialog/Rotate3dAnimation.java
index c054a30..0c20a0d 100644
--- a/sweetalertdialog/src/main/java/com/simorgh/sweetalertdialog/Rotate3dAnimation.java
+++ b/sweetalertdialog/src/main/java/com/simorgh/sweetalertdialog/Rotate3dAnimation.java
@@ -72,11 +72,11 @@ public Rotate3dAnimation(Context context, AttributeSet attrs) {
mFromDegrees = a.getFloat(R.styleable.Rotate3dAnimation_fromDeg, 0.0f);
mToDegrees = a.getFloat(R.styleable.Rotate3dAnimation_toDeg, 0.0f);
mRollType = a.getInt(R.styleable.Rotate3dAnimation_rollType, ROLL_BY_X);
- Description d = parseValue(a.peekValue(R.styleable.Rotate3dAnimation_pivotX));
+ Description d = parseValue(a.peekValue(R.styleable.Rotate3dAnimation_myPivotX));
mPivotXType = d.type;
mPivotXValue = d.value;
- d = parseValue(a.peekValue(R.styleable.Rotate3dAnimation_pivotY));
+ d = parseValue(a.peekValue(R.styleable.Rotate3dAnimation_myPivotY));
mPivotYType = d.type;
mPivotYValue = d.value;
diff --git a/sweetalertdialog/src/main/res/anim/error_frame_in.xml b/sweetalertdialog/src/main/res/anim/error_frame_in.xml
index 0dc1915..841f8d5 100644
--- a/sweetalertdialog/src/main/res/anim/error_frame_in.xml
+++ b/sweetalertdialog/src/main/res/anim/error_frame_in.xml
@@ -14,7 +14,7 @@
sweet:rollType="x"
sweet:fromDeg="100"
sweet:toDeg="0"
- sweet:pivotX="50%"
- sweet:pivotY="50%"
+ sweet:myPivotX="50%"
+ sweet:myPivotY="50%"
android:duration="400"/>
\ No newline at end of file
diff --git a/sweetalertdialog/src/main/res/values/attrs.xml b/sweetalertdialog/src/main/res/values/attrs.xml
index 226f712..dde737a 100644
--- a/sweetalertdialog/src/main/res/values/attrs.xml
+++ b/sweetalertdialog/src/main/res/values/attrs.xml
@@ -8,8 +8,8 @@
-
-
+
+