Update Chip Padding Fix

This commit is contained in:
LooKeR 2021-12-12 00:24:21 +05:30
parent 598c433354
commit ab49fae13e

View File

@ -169,7 +169,7 @@ class AppListAdapter(private val onClick: (ProductItem) -> Unit) :
R.drawable.background_border, R.drawable.background_border,
context.theme context.theme
) )
setPadding(8, 15, 1, 15) resources.sizeScaled(6).let { setPadding(it, it, it, it) }
backgroundTintList = backgroundTintList =
context.getColorFromAttr(R.attr.colorSecondaryContainer) context.getColorFromAttr(R.attr.colorSecondaryContainer)
setTextColor(context.getColorFromAttr(R.attr.colorSecondary)) setTextColor(context.getColorFromAttr(R.attr.colorSecondary))