Reputation: 5902
I am trying to set the Text alignment of an auto complete text view to be right aligned, I used the android:gravity="Right", on the emulator It is working find, but on the device it is always left aligned,
Does any one have an idea? note: I am using Samsung Galaxy Tab as a test device,
Thanks
Upvotes: 0
Views: 1519
Reputation: 149
Set textAlignment attribute to right in autocompleteTextView. Surely will help.
Upvotes: 0
Reputation: 405
Try using setGravity() method. Maybe it will affect and on galaxy too.
Upvotes: 0