Sample Project to demonstrate a bug with textAllCaps in AppCompatTextView.
Problem:
- When toggling between two different text styles, one with
android:textAllCaps
set totrue
and the other set tofalse
, the TextView will always display its text as fully uppercase, no matter what.
Expected behavior:
- When the style with
android:textAllCaps
set tofalse
is set, the text should display text in its original case, not all uppercase.
Workaround:
- If using
textAllCaps
instead ofandroid:textAllCaps
(omitting theandroid:
prefix, the behavior is correct)