调整用户信息卡片
This commit is contained in:
parent
fe3c9c1563
commit
977bfa910c
@ -330,6 +330,9 @@ public class LiveUserDialogFragment extends AbsDialogFragment implements View.On
|
||||
}
|
||||
mName.setText(obj.getString("user_nicename"));
|
||||
if (mUserBean.getGoodnum() != null && !mUserBean.getGoodnum().equals("")) {
|
||||
if(obj.getInteger("level_anchor")==1) {
|
||||
good_nub_ico.setImageResource(R.mipmap.good_nub);
|
||||
}
|
||||
good_nub_ico.setVisibility(View.VISIBLE);
|
||||
mID.setText(mUserBean.getGoodnum());
|
||||
} else {
|
||||
|
@ -67,13 +67,13 @@
|
||||
android:id="@+id/btn_setting"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginStart="32dp"
|
||||
android:layout_marginTop="14dp"
|
||||
android:padding="8dp"
|
||||
android:src="@mipmap/icon_live_user_6"
|
||||
android:visibility="invisible"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
android:visibility="gone"
|
||||
android:layout_marginEnd="14dp"
|
||||
android:layout_marginTop="10dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/btn_report" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
@ -79,7 +79,7 @@
|
||||
android:layout_width="18dp"
|
||||
android:layout_height="15dp"
|
||||
android:layout_marginEnd="2dp"
|
||||
android:src="@mipmap/good_nub"
|
||||
android:src="@mipmap/usercard_good_nub"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
|
Loading…
Reference in New Issue
Block a user