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

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

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

google shop client API returns 400 bad request error while adding an item -