title: How to change margin and padding of textview - kotlin
body: <p>How to change margin and padding of textview in kotlin? I've tried this:</p>
  
  <pre><code>  val maskot_names = maskot_row.findViewById&lt;TextView&gt;(R.id.maskot_name)
              maskot_names.text=maskot_names_list.get(position)
  
              // showing "???" if maskot_names is empty
              if(maskot_names.text=="")
              {
                  maskot_names.text="？？？"
                  maskot_names.paddingTop(16f) 
              }
  </code></pre>