Set Auto Complete Text View Text Alignment to be right aligned
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开发者_如何学Go one have an idea? note: I am using Samsung Galaxy Tab as a test device,
Thanks
Try using setGravity() method. Maybe it will affect and on galaxy too.
Set textAlignment attribute to right in autocompleteTextView. Surely will help.
精彩评论