I need to uppercase all characters of Android textview
问题 I know about using setAllCaps(true) but it requires me to use API14 as min, and I would like to keep API 9 as min, so I would like to know if anyone has found a way to capitalize all characters of all textViews in certain layout? 回答1: One could easily extend the TextView and change the text case there manually. Example: package com.example.allcapstextview; import android.content.Context; import android.util.AttributeSet; import android.widget.TextView; import java.util.Locale; public class