Adjusting sizes in LabelsAdapter

This commit is contained in:
anonTree1417 2020-03-31 18:43:52 +02:00
parent 6b2be06eda
commit 22010d953a

View file

@ -146,11 +146,11 @@ public class LabelsAdapter extends RecyclerView.Adapter<LabelsAdapter.LabelsView
//.useFont(Typeface.DEFAULT) //.useFont(Typeface.DEFAULT)
.bold() .bold()
.textColor(new ColorInverter().getContrastColor(color)) .textColor(new ColorInverter().getContrastColor(color))
.fontSize(36) .fontSize(40)
.width(LabelWidthCalculator.customWidth(getMaxLabelLength())) .width(LabelWidthCalculator.customWidth(getMaxLabelLength()))
.height(60) .height(65)
.endConfig() .endConfig()
.buildRoundRect(labelName, color, 8); .buildRoundRect(labelName, color, 10);
holder.labelsView.setImageDrawable(drawable); holder.labelsView.setImageDrawable(drawable);
} }