set Textview margin and width programmly kotlin code example
Example: set Textview margin and width programmly kotlin
(textView.layoutParams as ViewGroup.MarginLayoutParams).apply {
bottomMargin = 10
// marginStart=5
}