Excatly that's the problem, i didn't notice it, i just copied it from my previous project :P ! However, i want to set the image to show after a period, i've maked this:
public void onRegistrationDone(String localProfileUri, long expiryTime) { updateStatus("Registered to server."); Log.d("SUCCEED","Registration DONE"); final ImageView iconView = (ImageView) findViewById(R.id.connected); iconView.setVisibility(1); iconView.postDelayed(new Runnable() { public void run() { iconView.setVisibility(0); } }, 5000); But it's always showen. Any idea how to fix that problem ? Thank you. 2011/4/30 Kostya Vasilyev <kmans...@gmail.com> > 30.04.2011 23:04, Alaeddine Ghribi пишет: > >> I have a problem, the image is not showing even when deleting >> "visibility" ? >> Have i a problem with the XML file ? >> > > Yes. > > The view that's above the ImageView is set to fill_parent height, so it > takes the entire height of the screen, leaving no room for the image view. > > Thank you. >> > > > -- > Kostya Vasilyev -- http://kmansoft.wordpress.com > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en