2015-01-12 2 views

답변

4

XML 레이아웃의 EditText 요소에 'android : inputType = "textCapSentences"를 간단하게 추가 할 수 있습니다. 예 :

<EditText 
    android:layout_width="match_parent" 
    android:layout_height="wrap_content" 
    android:background="@android:color/background_light" 
    android:padding="8dp" 
    android:textSize="18sp" 
    android:inputType="textCapSentences"/> 

GenyMotion과 같은 에뮬레이터에서는 자동으로 적용 할 수 없지만, 장치에서 테스트하면 자동으로 적용 할 수 있습니다.

행운을 빌어 요.

관련 문제