2011-07-06 5 views
0

edittext가 있으며 이동 버튼 대신 줄 바꿈 버튼이 표시됩니다. 왜? 당신이 버튼을, 당신의 EditText 요소로 이것을 시도 "이동"하려면EditText에서 "go"버튼은 어디입니까

InputMethodManager imm = (InputMethodManager) TrackActivity.this.getSystemService(Context.INPUT_METHOD_SERVICE); 
if (imm != null){ 
    imm.toggleSoftInput(InputMethodManager.SHOW_FORCED,0); 
} 

답변

4

:

안드로이드 : minLines = "40"또한

, 내가 사용하는 가상 키보드를 보여주는거야

을 즉
 
    <EditText 
    android:text="EditText" 
    android:id="@+id/editText1" 
    android:layout_width="wrap_content" 
    android:layout_height="wrap_content" 
    android:imeOptions="actionGo" /> 

대해서는 imeOptions "actionGo"로 설정합니다.

0
android:imeOptions="actionGo" 

간단한

관련 문제