调整排行榜图标大小,隐藏性别图标
This commit is contained in:
parent
823075c0ad
commit
41fb743bda
@ -276,6 +276,7 @@ public class MainListAdapter extends RefreshAdapter<ListBean> {
|
||||
mBtnFollow.setTextColor(Color.parseColor("#7BBAFF"));
|
||||
}
|
||||
}
|
||||
mSex.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -103,6 +103,7 @@ public abstract class AbsMainListChildViewHolder extends AbsMainViewHolder imple
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void setAppbarColor(int color) {
|
||||
toolbarLayout.setContentScrimColor(color);
|
||||
}
|
||||
@ -303,7 +304,7 @@ public abstract class AbsMainListChildViewHolder extends AbsMainViewHolder imple
|
||||
getItem(position, svga1, svga2, svga3).setVisibility(View.VISIBLE);
|
||||
}
|
||||
getItem(position, mSex1, mSex2, mSex3).setImageResource(CommonIconUtil.getSexIcon(bean.getSex()));
|
||||
|
||||
setVisibility(View.INVISIBLE, position, mSex1, mSex2, mSex3);
|
||||
getItem(position, mBtnFollow1, mBtnFollow2, mBtnFollow3).setOnClickListener(v -> {
|
||||
CommonHttpUtil.setAttention(bean.getUid(), new CommonCallback<Integer>() {
|
||||
@Override
|
||||
|
@ -127,8 +127,8 @@
|
||||
|
||||
|
||||
<ImageView
|
||||
android:layout_width="10dp"
|
||||
android:layout_height="10dp"
|
||||
android:layout_width="18dp"
|
||||
android:layout_height="15dp"
|
||||
android:src="@mipmap/diamond" />
|
||||
|
||||
<TextView
|
||||
@ -259,8 +259,8 @@
|
||||
|
||||
|
||||
<ImageView
|
||||
android:layout_width="10dp"
|
||||
android:layout_height="10dp"
|
||||
android:layout_width="18dp"
|
||||
android:layout_height="15dp"
|
||||
android:src="@mipmap/diamond" />
|
||||
|
||||
<TextView
|
||||
@ -390,8 +390,8 @@
|
||||
|
||||
|
||||
<ImageView
|
||||
android:layout_width="10dp"
|
||||
android:layout_height="10dp"
|
||||
android:layout_width="18dp"
|
||||
android:layout_height="16dp"
|
||||
android:src="@mipmap/diamond" />
|
||||
|
||||
<TextView
|
||||
|
@ -115,18 +115,22 @@
|
||||
|
||||
|
||||
<ImageView
|
||||
android:layout_width="12dp"
|
||||
android:layout_height="12dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_marginTop="3dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@mipmap/home_me_diamonds" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/votes"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:text="11111"
|
||||
android:textColor="#FF7F00"
|
||||
android:textSize="12sp" />
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user