开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜