调整预约按钮样式

This commit is contained in:
chenjuntao
2019-07-20 16:23:45 +08:00
parent d9b65705ad
commit 52438c682b
2 changed files with 4 additions and 4 deletions

View File

@ -120,8 +120,8 @@ public class DownloadItemUtils {
// 已预约
holder.gameDownloadBtn.setVisibility(View.VISIBLE);
holder.gameDownloadBtn.setText("已预约");
holder.gameDownloadBtn.setTextColor(ContextCompat.getColor(holder.gameDes.getContext(), R.color.btn_gray));
holder.gameDownloadBtn.setBackground(ContextCompat.getDrawable(holder.gameDes.getContext(), R.drawable.kuaichuan_cancel_bg));
holder.gameDownloadBtn.setTextColor(Color.WHITE);
holder.gameDownloadBtn.setBackgroundResource(R.drawable.game_item_btn_pause_dn);
}
}