Git Product home page Git Product logo

Comments (9)

nienlm-hhtv avatar nienlm-hhtv commented on August 22, 2024

you should place the sheet layout outside the CoordinatorLayout and set the width and height to fill parent

from fabtransitionactivity.

DarkNormal avatar DarkNormal commented on August 22, 2024

@JovieBrett did you solve this issue?

from fabtransitionactivity.

JovieBrett avatar JovieBrett commented on August 22, 2024

@nienlm-hhtv @DarkNormal but it made the whole screen white so I move it back inside the CoordinatorLayout and tried to set width and height to fill_parent, it still doesn't work.

from fabtransitionactivity.

DarkNormal avatar DarkNormal commented on August 22, 2024

@JovieBrett do you have your code available on Github to look at? I had a similar issues (see here) but my original fix was a dirty hack so I wouldn't recommend it, although @simongiesen suggestion did help me come up with a better solution afterwards (Moving the SheetLayout out of a fragment layout and into the Activity layout)

from fabtransitionactivity.

JovieBrett avatar JovieBrett commented on August 22, 2024

@DarkNormal nope but I will make it available later.

from fabtransitionactivity.

nienlm-hhtv avatar nienlm-hhtv commented on August 22, 2024

@JovieBrett anw you should'n place your sheet inside CoordinatorLayout

from fabtransitionactivity.

JovieBrett avatar JovieBrett commented on August 22, 2024

@DarkNormal Temporary fix: adding app:elevation="0dp" to the toolbar.

from fabtransitionactivity.

JovieBrett avatar JovieBrett commented on August 22, 2024

@DarkNormal @nienlm-hhtv
Fixed it by making the parent attribute on my xml layout, let's say:

<RelativeLayout>
<SheetLayout>
</SheetLayout>
<android.support.design.widget.CoordinatorLayout>
<android.support.design.widget.FloatingActionButton>
</android.support.design.widget.FloatingActionButton>
</android.support.design.widget.CoordinatorLayout>
</RelativeLayout>

As @nienlm-hhtv stated, SheetLayout should be outside of CoordinatorLayout. Cheers!

from fabtransitionactivity.

dharavp avatar dharavp commented on August 22, 2024
<RelativeLayout>
<android.support.design.widget.CoordinatorLayout>
<android.support.design.widget.FloatingActionButton>
</android.support.design.widget.FloatingActionButton>
</android.support.design.widget.CoordinatorLayout>
<SheetLayout>
</SheetLayout>
</RelativeLayout>

@JovieBrett SheetLayout should be outside of coordinateLayout and also it should be overlap the coordinate Layout.

from fabtransitionactivity.

Related Issues (18)

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.