Hi,
I have 1 imageButton and i want to hide that button after 5sec in oncreate method.Can anyone plz help me
Regards Mona
Hi,
I have 1 imageButton and i want to hide that button after 5sec in oncreate method.Can anyone plz help me
Regards Mona
onCreate(){
new SleepTask().execute();
}
private class SleepTask extends AsyncTask{
protected void doInBackground(){
Thread.sleep(5000);
}
protected void onPostExecute(){
yourImageButton.setVisiblity(View.INVISIBLE);
}
}