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

小黑Neo

关注

阅读 41

2022-02-27


问题简介

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

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

解决方案

在Button的属性中增加

android:textAllCaps="false"

完整样例:

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



相关推荐

精彩评论(0)

0 0 举报