在我的應用程序登錄屏幕,我需要改變默認的鍵盤最後一個箭頭,而不是像旁邊一些文字,這樣做是有可能的Android?如果有人知道你能回答這個問題。如何將默認鍵盤下一個箭頭更改爲鍵盤中的自定義名稱?
-2
A
回答
2
您可以使用機器人:imeActionLabel = 「YourText」或機器人:imeOptions = 「actionNext」 的EditText
屬性是示例代碼
<EditText
android:id="@+id/edit_user"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:hint="@string/userprofile_email"
android:inputType="textEmailAddress"
android:imeActionLabel="@string/next"
android:imeOptions="actionNext"
/>
+0
箭頭沒有改變仍然有任何其他方式幫助我嘗試這3小時我不能改變那箭頭進入下一個文本 – user2372490
+0
可能是我們無法更改圖標,但嘗試任何其他ime選項instanded「actionNext」並檢查 –
0
採用Android:imeOptions = 「actionGo」 在你的EditText視圖中點擊這個EditText上查看鍵盤上將會轉到按鈕出現
<RelativeLayout
android:id="@+id/relative"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/header"
android:background="@drawable/rounded_corner_bg" >
<EditText
android:id="@+id/userName"
android:layout_width="wrap_content"
android:layout_height="60dp"
android:layout_marginLeft="20dp"
android:background="@android:color/transparent"
android:ems="10"
android:hint="@string/Username"
android:inputType="textEmailAddress" >
<requestFocus />
</EditText>
<View
android:id="@+id/lineView"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_below="@+id/userName"
android:background="@color/lineColor" />
<EditText
android:id="@+id/password"
android:layout_width="wrap_content"
android:layout_height="60dp"
android:layout_alignLeft="@+id/userName"
android:layout_below="@+id/lineView"
android:background="@android:color/transparent"
android:ems="10"
android:hint="@string/Password"
android:imeOptions="actionGo"
android:inputType="textPassword"
android:singleLine="true" />
</RelativeLayout>
相關問題
- 1. 使用自定義鍵盤更改iPod默認鍵盤
- 2. 更改默認鍵盤android
- 3. 更改TableViewer的默認鍵盤綁定
- 4. 自定義鍵盤:inputView:如何更改鍵盤大小?
- 5. iOS隱藏默認鍵盤並打開自定義鍵盤
- 6. 軟鍵盤箭頭鍵
- 7. 將qwerty更改爲Android自定義鍵盤中的數字小鍵盤
- 8. 如何在自定義Android鍵盤中定義向上和向下箭頭
- 9. 如何隱藏自定義鍵盤可見時的默認Android鍵盤?
- 10. 自動完成更改CSS使用鍵盤選擇(箭頭鍵)
- 11. 如何更改El Capitan中的默認鍵盤快捷鍵?
- 12. 如何更改網站中的默認鍵盤快捷鍵
- 13. 以編程方式更改自定義Android鍵盤的鍵盤
- 14. UITextField - 如何使用自定義鍵盤並禁用默認鍵盤
- 15. 自定義鍵盤名稱方案
- 16. Android自定義軟鍵盤 - 更改KEYCODE_ENTER行爲以跳過非默認軟鍵盤行爲的非EditText對象
- 17. 如何找出按下鍵盤向下箭頭鍵,編程
- 18. 如何在默認Android鍵盤中添加按鍵/自定義按鍵
- 19. 如何更改SSMS的默認鍵盤快捷鍵
- 20. 如何自定義鍵盤
- 21. Android自定義鍵盤更改背景顏色鍵按下
- 22. 默認鍵盤出現在iPhone而不是我的自定義鍵盤
- 23. 創建Android自定義鍵盤,通過服務取代默認的Android鍵盤
- 24. 如何更改JTabbed Panel中的箭頭鍵的默認功能?
- 25. 如何更改默認鍵盤按鍵字體
- 26. 箭頭鍵與JQuery的鍵盤導航
- 27. 箭頭鍵的鍵盤代碼
- 28. 自定義鍵盤爲Android
- 29. 按下箭頭鍵拍攝兩個鍵盤中斷? (int 09h)
- 30. 自定義鍵盤
搜索所以你問的問題,這麼多的問題之前,已經有http://stackoverflow.com/questions/14100482/how-to-change-the-softkeyboard-enter-button-text-in-android –
我已經嘗試一個但直到我不能得到下一個,而不是鍵盤 – user2372490
中的箭頭在哪個設備上測試?我得到了像摩托羅拉Atrix –