我有兩個文本視圖& 2周的EditText視圖.....下面是我的XML如何通過點擊下一個鍵盤按鍵將控制權傳遞給android中的下一個edittext?
<TextView
android:id="@+id/txt_email"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="@string/email"
android:textColor="@color/gray"
android:textSize="@dimen/medium"
app:font="font/trebuc_normal" />
<EditText
android:id="@+id/et_un"
style="@style/EditText"
android:layout_width="fill_parent"
android:background="@drawable/edittext_roundcorner"
android:imeOptions="actionNext"
/>
<FontedTextView
android:id="@+id/txt_pass"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/password"
android:textColor="@color/gray"
android:textSize="@dimen/medium"
app:font="font/trebuc_normal" />
<EditText
android:id="@+id/password"
style="@style/EditText"
android:layout_width="fill_parent"
android:background="@drawable/edittext_roundcorner"
android:inputType="textPassword"
/>
我希望我的控制,通過編輯與ID密碼文本當用戶在電子郵件編輯文本視圖&一些文本按enter.I使用imoptions,但不work.After輸入文本時,我按下一步按鈕控制去同一編輯文本視圖的下一行。請幫助?
感謝現在工作的罰款 – vaibvorld
@vaibvorld如果這個答案是幫助你,然後接受它。 –