How to set the cursor some spaces away from the start in an EditText in Android? -


i have edittext allows user enter text default starting position. want move cursor starting position , set 6 dp away starting position. how can this?

try using padding, edit text.hope works :)

android:paddingleft="15dp" 

Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -