Coder Social home page Coder Social logo

Comments (6)

shaz-tech avatar shaz-tech commented on May 25, 2024

I have done this. You you want we can combine this.

from stacklayoutmanager.

Hebin320 avatar Hebin320 commented on May 25, 2024

How to fix it?

from stacklayoutmanager.

shaz-tech avatar shaz-tech commented on May 25, 2024

You can create a separate method for bottom stack and add extra margin using device metrics and stacks size for bottom and reduce the margin from top according numberOfStacks * spaceOfStack and others same as TOP.
Like this;

int top = (int) (left(i) - (1 - scale) * view.getMeasuredHeight() / 2) - (mSpace * maxStackCount);
int right = view.getMeasuredWidth() + left;
int bottom = (view.getMeasuredHeight() + (2 * metrics.heightPixels)) + (mSpace * maxStackCount);

from stacklayoutmanager.

Hebin320 avatar Hebin320 commented on May 25, 2024

Can you send it to me by email?
My email is [email protected]
Thanks.

from stacklayoutmanager.

HirayClay avatar HirayClay commented on May 25, 2024

oh, man! I am really sorry for this. The first time i want to implement this, i just know little about LayoutManager and RV,so i missed so much details and didn't know the recycling is so hard for StackLayoutManager. I am so sorry ,this is just a toy for fun. Back to the point, BOTTOM is alike to LEFT andTOP ,you just need to do some change according to other direction. I am so sorry , this is my first open project ,i don't know this will be paid attention to ,actually a little flattered. Some issues i know are some kind of out of my control .

from stacklayoutmanager.

Related Issues (16)

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.