Doesn't work EditText padding in the API 21

后端 未结 6 1053
你的背包
你的背包 2021-02-07 21:08

Doesn\'t work EditText padding in the API 21. I try to do it in empty project, only with single editText, but it still doesn\'t work.

Set padding programmatically works

6条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-07 21:50

    Try to give padding programmatically by using method setLayoutParams() it will work i am hopeful Ref: Example

提交回复
热议问题