From 216308bf78572d93f940f9f0a54ca69820c17406 Mon Sep 17 00:00:00 2001 From: cgspine Date: Thu, 7 May 2020 13:59:40 +0800 Subject: [PATCH] should be getInt(). #912 --- .../main/java/com/qmuiteam/qmui/layout/QMUILayoutHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {