Align spinner values to right instead of left

前端 未结 2 1575
猫巷女王i
猫巷女王i 2021-02-13 01:11

In spinner xml, I\'m using:

 android:entries=\"@array/cars\"

where cars is list of numeric items.

The spinner automatically align value

2条回答
  •  隐瞒了意图╮
    2021-02-13 02:11

    You can use TextAlignment on properties and select TextEnd, or android:textAlignment="textEnd" on XML simple

提交回复
热议问题