Problem with Image Button visibility! Android
问题 I have an Image button. I made it invisible. But the onClick event is not getting triggered which makes the button visible. The button should initially be visible for 5seconds, become invisible and then visible again if I click there. private ImageButton nextbutton; @Override protected void onCreate( Bundle savedInstanceState ) { super.onCreate( savedInstanceState ); setContentView( R.layout.first ); nextbutton = ((ImageButton)findViewById( R.id.NextButton )); nextbutton.setVisibility(View