Doesn't work EditText padding in the API 21

后端 未结 6 1145
你的背包
你的背包 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条回答
  •  萌比男神i
    2021-02-07 21:50

    Just replace android:paddingLeft with android:paddingStart, as should be anyway and fixes this bug on those devices.

提交回复
热议问题