久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

actionDone imeOption 不適用于 Android 2.3 中的 EditText

actionDone imeOption doesn#39;t work on EditText in Android 2.3(actionDone imeOption 不適用于 Android 2.3 中的 EditText)
本文介紹了actionDone imeOption 不適用于 Android 2.3 中的 EditText的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

限時送ChatGPT賬號..

我在 Android 2.3 中使用 EditText 時遇到問題.

I have a problem using an EditText in Android 2.3.

我有一個用 android:imeOptions="actionDone" 屬性定義的 EditText 但是當我通過虛擬鍵盤書寫時,返回鍵沒有檢測到 actionDone 并引入了一條返回線.

I have an EditText defined with android:imeOptions="actionDone" property but when I'm writing by the virtual keyboard the return key doesn't detect the actionDone and it introduce a return line.

在 Android 2.2 中工作正常.

In Android 2.2 is working right.

<EditText android:layout_height="wrap_content"
    android:layout_width="fill_parent" 
    android:imeOptions="actionDone" />

推薦答案

我已經解決了這個問題.我添加了 android:singleLine="true" 屬性,它工作正常.

I have resolved this issue. I have added the android:singleLine="true" property and it works right.

<EditText android:layout_height="wrap_content"
    android:layout_width="fill_parent" 
    android:imeOptions="actionDone"
    android:singleLine="true" 
 />

這篇關于actionDone imeOption 不適用于 Android 2.3 中的 EditText的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Cut, copy, paste in android(在android中剪切、復制、粘貼)
android EditText blends into background(android EditText 融入背景)
Change Line Color of EditText - Android(更改 EditText 的線條顏色 - Android)
EditText showing numbers with 2 decimals at all times(EditText 始終顯示帶 2 位小數的數字)
Changing where cursor starts in an expanded EditText(更改光標在展開的 EditText 中的開始位置)
EditText, adjustPan, ScrollView issue in android(android中的EditText,adjustPan,ScrollView問題)
主站蜘蛛池模板: 国产日韩欧美一区二区 | 久久精品伊人 | 午夜精品视频在线 | 青青青草视频 | 亚洲综合影院 | 国产精品一区二区在线免费观看 | 在线观看三级 | www.在线播放 | 黄色大片在线免费观看 | 国产在线h | 日韩欧美精品一区 | 日本欧美视频 | 高清一级片 | 久久久久一区二区三区 | 欧美成人激情视频 | 欧美黑粗大 | 精品少妇3p| 国产精品福利一区 | 黄色小视频在线免费观看 | 免费国产黄色 | 精品国产99久久久久久宅男i | 国产一区二区三区在线 | 操久 | 免费看黄色av | 色羞羞 | 成年人黄色 | 黄色一级大片在线免费看国产一 | 国内精品国产成人国产三级 | 国产欧美一区二区 | 国产精品123 | 性大毛片视频 | 亚洲国产精品久久久久久久 | 色综合久久综合 | aaa一级片 | 亚洲xxxxx | 欧美日韩一二区 | 免费网站黄 | 在线观看二区 | 久久久久久免费毛片精品 | 日本少妇高潮达到高潮 | av日韩精品 |