diff --git a/qmui/src/main/java/com/qmuiteam/qmui/layout/QMUILayoutHelper.java b/qmui/src/main/java/com/qmuiteam/qmui/layout/QMUILayoutHelper.java index ddc06edd9..daf96344b 100644 --- a/qmui/src/main/java/com/qmuiteam/qmui/layout/QMUILayoutHelper.java +++ b/qmui/src/main/java/com/qmuiteam/qmui/layout/QMUILayoutHelper.java @@ -180,7 +180,7 @@ public QMUILayoutHelper(Context context, AttributeSet attrs, int defAttr, int de } else if (index == R.styleable.QMUILayout_qmui_outerNormalColor) { mOuterNormalColor = ta.getColor(index, mOuterNormalColor); } else if (index == R.styleable.QMUILayout_qmui_hideRadiusSide) { - mHideRadiusSide = ta.getColor(index, mHideRadiusSide); + mHideRadiusSide = ta.getInt(index, mHideRadiusSide); } else if (index == R.styleable.QMUILayout_qmui_showBorderOnlyBeforeL) { mIsShowBorderOnlyBeforeL = ta.getBoolean(index, mIsShowBorderOnlyBeforeL); } else if (index == R.styleable.QMUILayout_qmui_shadowElevation) {