Skip to content

Commit

Permalink
修复BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
goweii committed Mar 21, 2020
1 parent abd2309 commit b56f03d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ public void setCheckedView(View checkedView) {
if (checkParams == null) {
checkParams = getDefaultLayoutParams();
}
addViewInLayout(mCheckedView, getChildCount(), checkParams);
addView(mCheckedView, getChildCount(), checkParams);
showTwoView();
bringFrontView();
hideBackView();
Expand All @@ -599,7 +599,7 @@ public void setUncheckedView(View uncheckedView) {
if (uncheckParams == null) {
uncheckParams = getDefaultLayoutParams();
}
addViewInLayout(mUncheckedView, getChildCount(), uncheckParams);
addView(mUncheckedView, getChildCount(), uncheckParams);
showTwoView();
bringFrontView();
hideBackView();
Expand Down

0 comments on commit b56f03d

Please sign in to comment.