@Override protected void onCreate(Bundle arg0) { super.onCreate(arg0); overridePendingTransition(R.anim.activity_in_drop, R.anim.activity_out_back); setContentView(R.layout.activity_add_cold_address); initView(); if (AppSharedPreference.getInstance().getPasswordSeed() == null) { shouldSuggestCheck = true; } else { shouldSuggestCheck = false; } flContainer.postDelayed( new Runnable() { @Override public void run() { imm.showSoftInput(flContainer.getChildAt(0).findViewById(R.id.et_password), 0); } }, 400); }
public void finish() { imm.hideSoftInputFromWindow(flContainer.getWindowToken(), 0); super.finish(); overridePendingTransition(0, R.anim.slide_out_bottom); };