textAllCaps converts to wrong latter in localization manner

时间:2016-10-20 13:00:58

标签: android android-layout textview

I think there is a bug in textAllCaps, converting small letter to wrong capital letter. In Turkish language, small letter 'i' must be convert to capital letter 'İ'. But Android converts it to capital letter 'I'.

TextView is like below:

<TextView
    android:id="@+id/txtCity"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:gravity="center"
    android:text="istanbul"
    android:textAllCaps="true" />

I expect to see 'İSTANBUL', but Android converts it to 'ISTANBUL'

Anybody else has faced this issue before?

0 个答案:

没有答案