This is my code:
<EditText
android:layout_width="@dimen/edittext_width"
android:layout_height="@dimen/edittext_height"
android:gravity="right|center_vertical"/>
I want the text go from right, so I add this code: android:gravity="right".
The problem is that the cursor always remain at right. I Attaching screen shots:
With gravity right -
Without gravity right -
Actually I want it will be like the first image and the last image.
Any help?
No comments:
Post a Comment