वहाँ हमेशा डिफ़ॉल्ट आभासी QWERTY
कुंजीपटल में उपलब्ध कुंजी से अलग अतिरिक्त कुंजियों को जोड़ने की जरूरत है।
एक्सएमएल
<EditText android:text="@+id/EditText01"
android:id="@+id/EditText01"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:imeOptions="actionDone"/>
By Programmatic Way
एक EditorInfo
सबसे अधिक उपयोगी वर्ग आप अपने Android आवेदन में उपयोगकर्ता इनपुट के किसी भी प्रकार से निपटने के लिए जब है का उपयोग करना।
IME_ACTION_DONE:
यह क्रिया इनपुट करने के लिए कुछ भी नहीं किया गया है और आईएमई बंद हो जाएगा।
EditTextSample.setImeOptions(EditorInfo.IME_ACTION_DONE);
अधिक जानकारी के लिए आप, http://developer.android.com/reference/android/view/inputmethod/EditorInfo.html
स्रोत
2015-05-03 06:30:21
हां अन्यथा यह एक नई लाइन डालता है और उस पर कूदता है =) –