Code Monkey home page Code Monkey logo

Comments (8)

tokudu avatar tokudu commented on September 24, 2024

I'm no sure I understand what you are saying. Can you clarify "it doesn't
work until after I am in the fragment"?

Anton

On Mon, Jul 22, 2013 at 5:38 PM, adfleshner [email protected]:

Trying to start a fragment with the AndroidSlidingUpPanel hidden.

but layout.hidePane() is all I can find to hide the pane and it doesn't
work until after I am in the fragment. Is there something that I am
missing? All help is appreciated thank you.


Reply to this email directly or view it on GitHubhttps://github.com//issues/14
.

from androidslidinguppanel.

josomers avatar josomers commented on September 24, 2024

You should try changing the dragger height or changing the visibility property of the dragger.

from androidslidinguppanel.

adfleshner avatar adfleshner commented on September 24, 2024

When I start my activity or fragment, I would like for the sliding menu to
not be visible. Because I havent added any infromation to that area yet so
it is diplaying the placeholder text at the bottem of the screen. It shows
and hides wonderfully once I start interacting with it. But when I start
this is what I am getting.

[image: Inline image 2]

On Tue, Jul 23, 2013 at 5:41 AM, Jo Somers [email protected] wrote:

You should try changing the dragger height or changing the visibility
property of the dragger.


Reply to this email directly or view it on GitHubhttps://github.com//issues/14#issuecomment-21405927
.

Thank You for your time
Cell: 832-257-4657

Aaron Fleshner

from androidslidinguppanel.

josomers avatar josomers commented on September 24, 2024

Check out my version of this library (dev branch) and use mSlidingUpPanelLayout.setDraggerView(panel, 0) in the onCreate method of your Activity. Or use setPanelHeight(0) from the original library. Isn't that working?

from androidslidinguppanel.

tokudu avatar tokudu commented on September 24, 2024

hidePane is intended for what you desire. Setting the panel height to zero is a bit of a hack. What happens when you call hidePane?

from androidslidinguppanel.

adfleshner avatar adfleshner commented on September 24, 2024

It hides it but only after I start interacting with the app.
On Jul 23, 2013 5:36 PM, "Anton Lopyrev" [email protected] wrote:

hidePane is intended for what you desire. Setting the panel height to zero
is a bit of a hack. What happens when you call hidePane?


Reply to this email directly or view it on GitHubhttps://github.com//issues/14#issuecomment-21451446
.

from androidslidinguppanel.

tokudu avatar tokudu commented on September 24, 2024

Try running it on a handler

Handler h = new Handler();
h.post(new Runnable() {
    @Override
    public void run() {
        layout.hidePane();
    }
});

from androidslidinguppanel.

adfleshner avatar adfleshner commented on September 24, 2024

thank you @tokudu that worked.

from androidslidinguppanel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.