mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 09:43:15 +00:00
テキスト色を変更するように
This commit is contained in:
parent
5da9e14d61
commit
6693275dd9
|
@ -57,7 +57,7 @@ public class ListItemAdapter extends RecyclerView.Adapter<ListItemAdapter.ListIt
|
||||||
ChipGroup chipGroup = holder.tagGroup;
|
ChipGroup chipGroup = holder.tagGroup;
|
||||||
Chip chip = new Chip(chipGroup.getContext());
|
Chip chip = new Chip(chipGroup.getContext());
|
||||||
chip.setText(listItem.getTagList().get(i).getName());
|
chip.setText(listItem.getTagList().get(i).getName());
|
||||||
chip.setBackgroundColor(Color.parseColor(listItem.getTagList().get(i).getColor()));
|
chip.setTextColor(Color.parseColor(listItem.getTagList().get(i).getColor()));
|
||||||
chipGroup.addView(chip);
|
chipGroup.addView(chip);
|
||||||
}
|
}
|
||||||
holder.tagGroup.setVisibility(View.VISIBLE);
|
holder.tagGroup.setVisibility(View.VISIBLE);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user