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, but in my work project, I've a lot of EditTexts with different paddings and set padding programmatically isn't right way.
On API level 19 xml padding works well.
Are there any solutions?
This my EditText xml code:
<EditText
android:id="@+id/et_text"
android:text="Text"
android:paddingLeft="20dp"
android:paddingStart="20dp"
android:paddingRight="20dp"
android:paddingEnd="20dp"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
android:layout_width="match_parent"
android:layout_height="45dp"/>
In the result, I've got:
I expect: