[android-developers] Re: how to remove the image displayed in ImageView
I could not find any API to remove the image displayed in ImageVIew. Help! On Jan 22, 11:16 am, cindy wrote: > Hi > > How can we removed image displayed in Imageview? > > Thanks! > > Cindy --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: how to remove the image displayed in ImageView
You could try setImageBitmap passing a null. On Jan 22, 9:31 pm, cindy wrote: > I could not find any API to remove the image displayed in ImageVIew. > Help! > > On Jan 22, 11:16 am, cindy wrote: > > > Hi > > > How can we removed image displayed in Imageview? > > > Thanks! > > > Cindy > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: how to remove the image displayed in ImageView
Haven't tried SetImageBitmap to null, but I know SetImageResource to null does not work. I've been meaning to ask this question, too. On Jan 23, 1:28 pm, mathiastck wrote: > You could try setImageBitmap passing a null. > > On Jan 22, 9:31 pm, cindy wrote: > > > > > I could not find any API to remove the image displayed in ImageVIew. > > Help! > > > On Jan 22, 11:16 am, cindy wrote: > > > > Hi > > > > How can we removed image displayed in Imageview? > > > > Thanks! > > > > Cindy- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: how to remove the image displayed in ImageView
Not sure what you're trying to accomplish, but you can use View.setVisibility(View.GONE or View.INVISIBLE) to not display the image. On Jan 23, 12:55 pm, Sundog wrote: > Haven't tried SetImageBitmap to null, but I know SetImageResource to > null does not work. > > I've been meaning to ask this question, too. > > On Jan 23, 1:28 pm, mathiastck wrote: > > > You could try setImageBitmap passing a null. > > > On Jan 22, 9:31 pm, cindy wrote: > > > > I could not find any API to remove the image displayed in ImageVIew. > > > Help! > > > > On Jan 22, 11:16 am, cindy wrote: > > > > > Hi > > > > > How can we removed image displayed in Imageview? > > > > > Thanks! > > > > > Cindy- Hide quoted text - > > > - Show quoted text - --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: how to remove the image displayed in ImageView
I displayed a image in Imageview. Then I click my delete button. I am going to delete the file. At the same time I need to delete the image shown in imageview. On Jan 23, 3:23 pm, jeffro wrote: > Not sure what you're trying to accomplish, but you can use > View.setVisibility(View.GONE or View.INVISIBLE) to not display theimage. > > On Jan 23, 12:55 pm, Sundog wrote: > > > Haven't tried SetImageBitmap to null, but I know SetImageResource to > > null does not work. > > > I've been meaning to ask this question, too. > > > On Jan 23, 1:28 pm, mathiastck wrote: > > > > You could try setImageBitmap passing a null. > > > > On Jan 22, 9:31 pm, cindy wrote: > > > > > I could not find any API toremovetheimagedisplayed inImageVIew. > > > > Help! > > > > > On Jan 22, 11:16 am, cindy wrote: > > > > > > Hi > > > > > > How can we removedimagedisplayed inImageview? > > > > > > Thanks! > > > > > > Cindy- Hide quoted text - > > > > - Show quoted text - --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---