Git Product home page Git Product logo

Comments (4)

MrEngineer13 avatar MrEngineer13 commented on July 29, 2024

This is actually one of the features of SnackBar, the max width and height are set per this documentation. If you are finding that your SnackBars are not obeying these dimensions on tablet then you can reopen this issue. In the future I'm planning on adding a more customizable snackbar, so stay tuned!

from snackbar.

tasomaniac avatar tasomaniac commented on July 29, 2024

As far as I get, there is a maximum width in the Material Design Guidelines
but there is no maximum height. Maximum height is 2 lines of text. It
should be automatic. Since the maximum height is fixed, I cannot have 2
lines of text when text is large.

On Sun Nov 02 2014 at 2:51:01 PM MrEngineer13 [email protected]
wrote:

This is actually one of the features of SnackBar, the max width and height
are set per this documentation
http://www.google.com/design/spec/components/snackbars-and-toasts.html#snackbars-and-toasts-specs.
If you are finding that your SnackBars are not obeying these dimensions on
tablet then you can reopen this issue. In the future I'm planning on adding
a more customizable snackbar, so stay tuned!


Reply to this email directly or view it on GitHub
#31 (comment)
.

from snackbar.

MrEngineer13 avatar MrEngineer13 commented on July 29, 2024

rasomaniac,

According to the documentation there isn't a two line tablet toast there is only a one liner and it's height is specified with:

Single-line snackbar height: 48dp tall

from snackbar.

tasomaniac avatar tasomaniac commented on July 29, 2024

Are you sure that they say that the toast in tablet should be 1 line. If it
can be 2 line in phones it should also be 2 line on tablets. Tablets are
always bigger. It doesn't make sense to me

On Sun, Nov 16, 2014, 5:55 PM MrEngineer13 [email protected] wrote:

rasomaniac,

According to the documentation there isn't a two line tablet toast there
is only a one liner and it's height is specified with:

Single-line snackbar height: 48dp tall


Reply to this email directly or view it on GitHub
#31 (comment)
.

from snackbar.

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.