Android:解决Button中的文字全部大写

大家应该发现,当使用Button相关组件的时候,如果内容是英文,无论大写还是小写字母,在显示的时候会全部自动显示为大写,这时候我们需要为Button设置一下

android:textAllCaps="false"

即可正常显示

猜你喜欢

转载自blog.csdn.net/chzphoenix/article/details/123090346