2
EditText을 만듭니다. 키보드 키보드를 얻고 설정을 직접 지정하십시오. 예를 들어, 대문자로 첫 글자를 설정하면 에 초점을 맞 춥니 다. EditText.키보드를 안드로이드로 가져올 수 없습니다.
EditText을 만듭니다. 키보드 키보드를 얻고 설정을 직접 지정하십시오. 예를 들어, 대문자로 첫 글자를 설정하면 에 초점을 맞 춥니 다. EditText.키보드를 안드로이드로 가져올 수 없습니다.
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과 같은 에뮬레이터에서는 자동으로 적용 할 수 없지만, 장치에서 테스트하면 자동으로 적용 할 수 있습니다.
행운을 빌어 요.