Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我开始输入编辑文本时,文本从左边框开始。我需要在编辑文本的边框线后一步开始输入文本。怎么做?
只需添加填充:
android:paddingLeft="5dp"
给你的EditText
EditText
只需在您的EditText
<EditText android:paddingLeft="5sp"/>