Skip to content

Sample Project to demonstrate a bug with textAllCaps in AppCompatTextView

Notifications You must be signed in to change notification settings

spatenotte/AndroidAllCapsBug

Repository files navigation

AndroidAllCapsBug

Sample Project to demonstrate a bug with textAllCaps in AppCompatTextView.

Problem:

  • When toggling between two different text styles, one with android:textAllCaps set to true and the other set to false, the TextView will always display its text as fully uppercase, no matter what.

Expected behavior:

  • When the style with android:textAllCaps set to false is set, the text should display text in its original case, not all uppercase.

Workaround:

  • If using textAllCaps instead of android:textAllCaps (omitting the android: prefix, the behavior is correct)

About

Sample Project to demonstrate a bug with textAllCaps in AppCompatTextView

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages