i had problem in keyboard . i made search activity and there i call edit text when i search for anything and by clicking that search the keyboard still activate in another activity . how can i stop it. i tried too much but i need someone help
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.search_activity);
searchText = (EditText) findViewById(R.id.Search_Field);
searchText.addTextChangedListener(this);
resultView = (ListView) findViewById(R.id.Display_Result);
resultView.setOnItemClickListener(this);
@Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
Intent intent = new Intent(SearchActivity.this, web_activity.class);
intent.putExtra("url", links[position]);
startActivity(intent);
}
@Override
public void beforeTextChanged(CharSequence s, int start, int count, int after) {
}