I have a cursor and hint that insists on being flush to the top left of an input field and I was wondering how I can fix this typically.
Asked
Active
Viewed 40 times
-1
2 Answers
0
If you want to keep it in the center set gravity as the center in XML.
android:gravity="center"

Ashi Agarwal
- 91
- 1
- 4
0
If you want to center it, you can use the property gravity as Ashi Agarwal said. But you need to center it vertically:
android:gravity="center_vertical"

MontDeska
- 1,617
- 19
- 16