我在我的Android項目中使用了帶有建議的可搜索項目。它基本上是一個EditText如何使可搜索項目的EditText中的文本小寫?
<searchable xmlns:android="http://schemas.android.com/apk/res/android"
android:label="@string/app_name"
android:hint="@string/search.hint"
android:includeInGlobalSearch="true"
android:searchSettingsDescription="@string/search.hint"
android:searchSuggestAuthority="com.xxx.android.provider.SearchSuggestionsProvider"
android:searchSuggestSelection=" ?"
android:inputType="text"
android:imeOptions="actionSearch">
</searchable>
當我開始鍵入它顯示爲第一個字母大寫。爲什麼?我希望它以小寫字母開頭。可能嗎?
@bgs你真棒... – wonsuc 2017-08-13 17:21:42
[下殼TextWatcher](https://gist.github.com/karolw/5176884e21511676f2020cc0ebe88d20) – bgs 2017-08-15 06:20:43