android - Sliding Panel visible programmatically in AndroidSlidingUpPanel -


I need to hide the sliding layout of the library until a button is clicked: In this situation, the panel will be visible and expand it Can be collapsed. I tried this way:

onCreate:

  dragview = (LinearLayout) findViewById (R.id.dragView); Dragview.setVisibility (View.GONE);  

and on click:

  dragview.setVisibility (see Visual);  

But that does not work, I can only see a full blank screen. Any ideas?

Resolve with:

  dragview.hidePanel ();  

and

  dragview.hidePanel ();  

Those two methods were supported by the library


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -