I know I can set a hint text for an EditText.
And currently, I just use space to separate 2 hints. However, the right hint text does not align to right of EditText.
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="30sp"
android:hint="LEFT RIGHT" />
What I want is as following style:
How can make one hint on left and another hint on right for a single EditText?
No comments:
Post a Comment