1.搜索页icon修改 2.我的粉丝页面取消关注按钮UI修改
This commit is contained in:
@@ -77,14 +77,13 @@ public class FansViewAdapter extends BaseQuickAdapter<FansInfo, BaseViewHolder>
|
||||
});
|
||||
|
||||
TextView tvAttention = baseViewHolder.getView(R.id.attention_img);
|
||||
GradientDrawable attentionBg = (GradientDrawable) tvAttention.getBackground();
|
||||
baseViewHolder.setVisible(R.id.attention_img, type == AbstractSelectFriendAction.TYPE_NORMAL);
|
||||
if (IMFriendModel.get().isMyFriend(String.valueOf(fansInfo.getUid()))) {
|
||||
tvAttention.setText("互相关注");
|
||||
attentionBg.setColor(mContext.getResources().getColor(R.color.color_CCCCCC));
|
||||
tvAttention.setBackgroundResource(R.drawable.bg_common_disable);
|
||||
} else {
|
||||
tvAttention.setText("+关注");
|
||||
attentionBg.setColor(mContext.getResources().getColor(R.color.appColor));
|
||||
tvAttention.setBackgroundResource(R.drawable.bg_common_confirm);
|
||||
}
|
||||
|
||||
AppCompatImageView ivGender = baseViewHolder.getView(R.id.iv_gender);
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 885 B After Width: | Height: | Size: 1.2 KiB |
@@ -119,11 +119,11 @@
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="15dp"
|
||||
android:background="@drawable/shape_bg_add_attention"
|
||||
android:background="@drawable/bg_common_confirm"
|
||||
android:gravity="center"
|
||||
android:scaleType="centerCrop"
|
||||
android:text="@string/add_attention"
|
||||
android:textColor="@color/color_FFFFFF"
|
||||
android:textColor="@color/text_title_white"
|
||||
android:textSize="12sp"
|
||||
android:visibility="visible" />
|
||||
</LinearLayout>
|
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Reference in New Issue
Block a user