如何将文本转换为MaterialButton
的小写?textAllCaps="false"
对我不起作用。我正在使用com.google.android.material:material:1.0.0-alpha3
<com.google.android.material.button.MaterialButton
android:id="@+id/material_button"
style="@style/Widget.MaterialComponents.Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/button_label_enabled"/>
发布于 2018-06-28 05:26:37
要禁用所有大写设置,需要将textAllCaps
和android:textAllCaps
都设置为false。
https://stackoverflow.com/questions/51071497
复制相似问题