Commit febc793d authored by Grigory Fedorov's avatar Grigory Fedorov

ConferenceAdd and ConferenceSelectActivity: keyboard do not opened by default.

parent a1db6b15
......@@ -20,6 +20,7 @@ import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.MenuItem;
import android.view.View;
import android.view.WindowManager;
import com.xabber.android.R;
import com.xabber.android.data.intent.AccountIntentBuilder;
......@@ -88,6 +89,8 @@ public class ConferenceAdd extends ManagedActivity implements Toolbar.OnMenuItem
.add(R.id.fragment_container, ConferenceAddFragment.newInstance(account, room))
.commit();
}
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);
}
@Override
......
......@@ -6,6 +6,7 @@ import android.os.Bundle;
import android.support.v4.app.NavUtils;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.view.WindowManager;
import com.xabber.android.R;
import com.xabber.android.data.intent.EntityIntentBuilder;
......@@ -42,6 +43,8 @@ public class ConferenceSelectActivity extends ManagedActivity implements Confere
if (savedInstanceState == null) {
getFragmentManager().beginTransaction().add(R.id.fragment_container, new ConferenceSelectFragment()).commit();
}
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment