title: How to Hide/Show button in android home screen widget
body: <p>I am a beginner of android development. Current, I am working on creating a small home screen widget that is changing wallpaper of the mobile on click the button. The setting wallpaper is working fine but I want to make a clickable small picture (ImageView) to allow user to show and hide this setting button. </p>
  
  <p>I setup it on service and use PendingIntent in order to attach my onClick event to the same service, but I cannot detect the property of button whether showing or hiding.</p>
  
  <p>Therefore,is there any suggestion and solution to make my ImageView to show or hide the button in home screen widget? </p>
  
  <p>Thanks in advance..</p>