EditText set text start 10dp from left border

后端 未结 4 1775
花落未央
花落未央 2020-12-24 10:36

Is possible in android EditText widget to set that text start 10dp from left border ? When I type something at the moment it is glued to left side and I need to put a little

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-24 11:07

    I solved using android:layout_marginLeft/android:layout_marginRight. Padding just changed the cursor position.

提交回复
热议问题