2010-01-26 5 views

Répondre

2

Essayez <activity android:windowSoftInputMode="stateAlwaysVisible">

Pour plus d'informations voir this page

4

Si vous souhaitez contrôler le clavier à l'écran dans votre code, vous pouvez utiliser le InputMethodManager pour l'appeler et le rejeter. getSystemService() est un appel sur l'activité.

InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); 
imm.showSoftInput(activeView, 0); 
0

try Afficher v = getWindow(). GetDecorView();

Questions connexes