maxxoune Posté(e) 2 juin 2011 Posté(e) 2 juin 2011 J'aurais besoin d'utiliser un équivalent de ceci : android:windowSoftInputMode="stateVisible" mais en ligne de code. Quelqu'un aurait une solution ? Merci
pat Posté(e) 6 juin 2011 Posté(e) 6 juin 2011 input = new EditText(this); InputMethodManager keyboard = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); keyboard.showSoftInput(input, 0);
maxxoune Posté(e) 16 juin 2011 Auteur Posté(e) 16 juin 2011 input = new EditText(this); InputMethodManager keyboard = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); keyboard.showSoftInput(input, 0); Merci :) L'effet est pas tout a fait le même, mais ça marche très bien ( j'avais pourtant déjà essayé surement un mauvais paramètre).
Recommended Posts
Archivé
Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.