This will have a really simple answer, but I can't seem to find what it is. I want to disable the auto-capitalization of an EditText so that, by default, the first letter entered with not be automatically capitalized. I still want to allow capitalization, but only if the user manually does so.
I've tried android:capitalize="none"
on my EditText, and I've tried android:inputType="text"
but both still auto-capitalize the first letter. I don't want to use a TextWatcher
because on the soft keyboard it will still show the shift key as pressed for the first letter, and I'm nit-picky and don't want that to show.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…