2011-12-19 5 views
17

그래서 이것은 매우 이상한 문제가 : 나는 현재 내 안드로이드와 최신 SDK/ADT를 사용하여 응용 프로그램 작업입니다 :의 minSdkVersion이 8해제 아이스크림 샌드위치에 확인 내장 주문

응용 프로그램을 설정 ICS 장치 (Galaxy Nexus)에 배치되면 안드로이드는 TextView 위젯에서 잘못 입력되었다고 생각되는 단어에 빨간색 구불 구불 한 밑줄을 추가합니다.

페이지의 스크린 샷 : 문제 Galaxy Nexus TextView with spellcheck

레이아웃 :

<?xml version="1.0" encoding="utf-8"?> 
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent" 
    android:orientation="vertical" > 

    <TextView 
     android:id="@+id/textView1" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:editable="false" 
     android:inputType="textMultiLine" 
     android:text="This is a test of a TextView showing the spell checking when it shouldn&apos;t. Phunware.com loves the game Baldr Force. Funimation.com" 
     android:textAppearance="?android:attr/textAppearanceMedium" > 
    </TextView> 

</LinearLayout> 

나는 추가 안드로이드를 시도 : 위젯에 = 편집 "false"로, 아니 효과.

답변

10

android : inputType이 지정되어 있고 위젯에서이 맞춤법 검사가 활성화 된 것처럼 보입니다. 죄송합니다.

+2

android : inputType을 사용하여 비활성화하는 방법이 있습니까? – AlexVogel

+0

android : autoText로 시도해주세요. – dwery

13

비활성화하려면 inputType을 "textNoSuggestions"로 설정하십시오.

관련 문제