diff --git a/MainModule/src/main/java/com/xscm/modulemain/widget/RoomMentorShipWheatView.kt b/MainModule/src/main/java/com/xscm/modulemain/widget/RoomMentorShipWheatView.kt index 68576912..f98a23c2 100644 --- a/MainModule/src/main/java/com/xscm/modulemain/widget/RoomMentorShipWheatView.kt +++ b/MainModule/src/main/java/com/xscm/modulemain/widget/RoomMentorShipWheatView.kt @@ -101,7 +101,6 @@ class RoomMentorShipWheatView : BaseWheatView { mIvRipple.visibility = VISIBLE mTvName.text = bean.nickname ImageUtils.loadHeadCC(bean.avatar, mRiv) - mCharmView.visibility = VISIBLE if (TextUtils.isEmpty(bean.dress)) { mIvFrame.stopAll() @@ -119,7 +118,6 @@ class RoomMentorShipWheatView : BaseWheatView { private fun handleOffState(bean: RoomPitBean) { mTvName.text = pitNumberText - mCharmView.visibility = GONE mRiv.visibility = VISIBLE mRiv.setImageResource(com.xscm.moduleutil.R.mipmap.room_ic_wheat_default) mIvShutup.visibility = GONE diff --git a/MainModule/src/main/res/layout/fragment_mentor_ship.xml b/MainModule/src/main/res/layout/fragment_mentor_ship.xml index b3449674..3d42e808 100644 --- a/MainModule/src/main/res/layout/fragment_mentor_ship.xml +++ b/MainModule/src/main/res/layout/fragment_mentor_ship.xml @@ -89,7 +89,7 @@ android:layout_width="@dimen/dp_36" android:layout_height="0dp" android:layout_marginStart="@dimen/dp_10" - app:layout_constraintDimensionRatio="1:1.2" + app:layout_constraintDimensionRatio="1:1.25" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="@id/gl_top" />