Search code examples
androiddroidparts

How to increase left padding in Droidparts ClearableEditText


Is there a way to increase the padding in XML code to the left so that the user can comfortably move the cursor at the end of a very long sentence?

screenshot of ClearableEditText default icon


Solution

  • Yes, the padding can be specified like this:

    android:drawablePadding="12dp"
    

    I'll add this info to the guide.