修复BUG
This commit is contained in:
parent
56bc86b936
commit
765448197e
@ -82,7 +82,7 @@ public class MyFragment extends BaseFragment implements OnItemClickListener<User
|
||||
private TextView coin, gold, star_coin;//金豆,钻石,星币
|
||||
private TextView btnCopy;
|
||||
private SVGAImageView gift_svga;
|
||||
private ImageView user_noble_ico, good_nub_ico;
|
||||
private ImageView user_noble_ico;
|
||||
private TextView user_noble_text, user_noble_time, tv_setting;
|
||||
private UserItemBean beanStetting = null, beanKefu = null;
|
||||
private boolean firstInto = true;
|
||||
@ -161,7 +161,6 @@ public class MyFragment extends BaseFragment implements OnItemClickListener<User
|
||||
});
|
||||
|
||||
user_noble_ico = (ImageView) itemView.findViewById(R.id.user_noble_ico);
|
||||
good_nub_ico = (ImageView) itemView.findViewById(R.id.good_nub_ico);
|
||||
mID = (TextView) itemView.findViewById(R.id.id_val);
|
||||
signature = (TextView) itemView.findViewById(R.id.signature);
|
||||
coin = (TextView) itemView.findViewById(R.id.coin);
|
||||
@ -390,7 +389,7 @@ public class MyFragment extends BaseFragment implements OnItemClickListener<User
|
||||
} else {
|
||||
sex.setImageResource(R.mipmap.ic_message_tab_woman);
|
||||
}
|
||||
|
||||
mID.setText("ID:" + u.getUser().getId());
|
||||
showBanner();
|
||||
if (!u.getUser().getAvatar().contains("http")) {
|
||||
ImgLoader.displayAvatar(mContext, CommonAppConfig.HOST + u.getUser().getAvatar(), mAvatar);
|
||||
@ -442,46 +441,6 @@ public class MyFragment extends BaseFragment implements OnItemClickListener<User
|
||||
} else {
|
||||
user_noble_ico.setImageResource(R.mipmap.icon_vip_gold);
|
||||
}
|
||||
/*if ("C".equals(u.getUsers_type())) {
|
||||
Constants.isAnchor = true;
|
||||
good_nub_ico.setImageResource(R.mipmap.usercard_good_nub);
|
||||
if (anchorLevelBean != null) {
|
||||
ImgLoader.display(mContext, CommonAppConfig.getInstance().HOST + anchorLevelBean.getThumb(), iconLevel);
|
||||
// ImgLoader.display(mContext, R.mipmap.icon_zhubolv, img_lv_pic);
|
||||
//主播等级
|
||||
idLevel.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
String url = CommonAppConfig.HOST + "/h5/Grade/index.html?" + "token=" + CommonAppConfig.getInstance().getToken() + "&uid=" + CommonAppConfig.getInstance().getUid() + "&for";
|
||||
//ZhuangBanActivity.forward(mContext, url);
|
||||
}
|
||||
});
|
||||
idLevel.setText(anchorLevelBean.getLevel() + "");
|
||||
}
|
||||
} else {
|
||||
Constants.isAnchor = false;
|
||||
LevelBean levelBean = appConfig.getLevel(u.getLevel());
|
||||
if (levelBean != null) {
|
||||
ImgLoader.display(mContext, levelBean.getThumb(), iconLevel);
|
||||
//用户等级
|
||||
idLevel.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
String url = CommonAppConfig.HOST + "/h5/Grade/index.html?" + "token=" + CommonAppConfig.getInstance().getToken() + "&uid=" + CommonAppConfig.getInstance().getUid() + "&isZh=" + ((IMLoginManager.get(CommonAppContext.sInstance.getBaseContext()).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0");
|
||||
// ZhuangBanActivity.forward(mContext, url);
|
||||
}
|
||||
});
|
||||
idLevel.setText(levelBean.getLevel() + "");
|
||||
}
|
||||
}*/
|
||||
//修改靓号图标 个人中心
|
||||
if (u.getUser().getGoodnum() != null && !u.getUser().getGoodnum().equals("")) {
|
||||
good_nub_ico.setVisibility(View.VISIBLE);
|
||||
mID.setText("ID:" + u.getUser().getGoodnum());
|
||||
} else {
|
||||
//good_nub_ico.setVisibility(View.GONE);
|
||||
//mID.setText(userInfo.getLiangNameTip());
|
||||
}
|
||||
|
||||
if (beanKefu != null) {
|
||||
}
|
||||
|
@ -534,7 +534,7 @@ public class EditProfileActivity extends AbsActivity {
|
||||
if (data.getName_auth() == 2) {//已通过
|
||||
auth_status.setText(R.string.title_audit_config5);
|
||||
auth_status.setTextColor(getResources().getColor(R.color.green_81c160));
|
||||
auth_status.setVisibility(View.GONE);
|
||||
auth_status.setVisibility(View.INVISIBLE);
|
||||
findViewById(R.id.img_auth_status).setVisibility(View.VISIBLE);
|
||||
} else if (data.getName_auth() == 3) {//已提交
|
||||
auth_status.setText(R.string.title_audit_config4);
|
||||
|
@ -129,11 +129,11 @@
|
||||
android:ellipsize="end"
|
||||
android:maxEms="4"
|
||||
android:singleLine="true"
|
||||
tools:text="啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊"
|
||||
android:text="@string/layout_f_my_tips1"
|
||||
android:textColor="#D56FF0"
|
||||
android:textSize="19sp"
|
||||
android:textStyle="bold" />
|
||||
android:textStyle="bold"
|
||||
tools:text="啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/authStatus"
|
||||
@ -226,35 +226,16 @@
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="25dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
<TextView
|
||||
android:id="@+id/id_val"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="28dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center|left">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/good_nub_ico"
|
||||
android:layout_width="21dp"
|
||||
android:layout_height="15dp"
|
||||
android:src="@mipmap/good_nub"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="15dp"
|
||||
android:src="@mipmap/icon_userid"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/id_val"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/gray_B1B1B1"
|
||||
android:textSize="12sp" />
|
||||
</LinearLayout>
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/gray_B1B1B1"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/btn_copy"
|
||||
|
Loading…
x
Reference in New Issue
Block a user