1

I am using a style in the Theme.AppCompat.Light.NoActionBar.

When I use the normal style android:Theme.Black.NoTitleBar

<EditText
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     android:gravity="right"
     android:hint="hint content"/>

the EditText cursor is at the right of the "hint content"enter image description here

But if I use Theme.AppCompat.Light.NoActionBar, the EditText cursor is always at the left of the "hint content".

How can I have the cursor at the right of the "hint content" when I use Theme.AppCompat.Light.NoActionBar?

08Dc91wk
  • 3,970
  • 6
  • 28
  • 64
cs x
  • 571
  • 1
  • 7
  • 22

0 Answers0