Good Afternoon.. ladies and gentlemen... Please i...
# android
p
Good Afternoon.. ladies and gentlemen... Please i've been struggling on how to increase the padding of an Android Chip, all efforts have failed... The Chip is create programmatically.
Copy code
val chip = Chip(mContext).apply {
                setPadding(130)
                setTextAppearance(R.style.ChipTextStyle_ProductList)
                isCheckedIconVisible = true
                setTextColor(ContextCompat.getColorStateList(mContext, R.color.chip_state_list_bg))
                chipBackgroundColor = ContextCompat.getColorStateList(mContext, R.color.chip_bg_state_list)
                isCloseIconVisible = true
                text = item.name
            }
t
does setting any of these work...
Copy code
app:chipStartPadding
app:iconStartPadding
app:iconEndPadding
app:textStartPadding
app:textEndPadding
app:closeIconStartPadding
app:closeIconEndPadding
app:chipEndPadding
p
Unfortunately i tried all this but didn't work... I've moved on