ime actionGo 단순히 HTC Evo 4G와 같은 특정 기기에서 작동하지 않습니다. 그것은 여기에 모토로라 ATRIX와 드로이드 X의Android에서 ime actionGo가 특정 기기에서 작동하지 않습니다.
에를 작동하는 코드입니다
<EditText
android:id="@+id/password"
android:layout_width="fill_parent"
android:layout_height="40dp"
android:layout_centerHorizontal="true"
android:hint="@string/password_hint"
android:password="true"
android:inputType="textPassword"
android:autoText="false"
android:imeOptions="actionGo"/>
TextView.OnEditorActionListener listener = new TextView.OnEditorActionListener()
{
public boolean onEditorAction(TextView exampleView, int actionId, KeyEvent event)
{
if(actionId == EditorInfo.IME_ACTION_GO)
{
loginValidation();
}
return true;
}};
password.setOnEditorActionListener(listener);