0
点赞
收藏
分享

微信扫一扫

安卓Button英文字符全部显示为大写问题

小黑Neo 2022-02-27 阅读 39


问题简介

在Button里显示英文字符时,全部是大写显示的.

安卓Button英文字符全部显示为大写问题_解决方案

解决方案

在Button的属性中增加

android:textAllCaps="false"

完整样例:

<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAllCaps="false"
android:text="Test"/>



举报

相关推荐

0 条评论