Align Center Menu Item text in android

后端 未结 3 760
轮回少年
轮回少年 2020-12-17 16:35

Using following code



        
3条回答
  •  醉梦人生
    2020-12-17 16:49

    I used @Mahm00d's way, that worked perfectly, but I found another way to solve the problem. It is to add \t before the String. If the space isn't enough, I can add more.

    Because Chinese words are one by one, the length of the item is same.

提交回复
热议问题