You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reacted by Harshad Kale, Guilherme Faria da Gama Lima, Mike Trewartha, Wez, Seth Lopez, Peter Keefe, Wojciech Rozwadowski, daisho-wakazashi, yarkh, saschak42 and 75 more
Reacted by Benjamin Vadon, Yuan Yao, Seth Lopez, smassalaz, Gustav Karlsson, saschak42, Nicolas Gouzy, Milos Marinkovic, Matheus Mendes, Dan Lowe and 10 more
Internally we're not seeing a lot of requests for this component versus using a Card. Can those of you that want to see the component as part of the library provide example use cases where a Card or Dialog with the information would not suffice?
Reacted by Jordan Bouëllat, Yaroslav Ovdiienko, Ian H White, heygude, Guybrush, Ahmed Khattab, Mohamadjavad Pourmoradian, George Taylor, Brill Pappin, Jco and 6 more
Here are a few reasons I feel it would be good to have an official component
Standard animation between various applications using the component
Standard styling & layout based on the official guidelines without having to implement them in a DIY style
Faster implementation of the banner functionality through an existing API
Stable & bug-free
Let me know what you think of these / if you think of more reasons
Reacted by chathuranga-RetailGenius, Manaus, rahul01, Yaroslav Ovdiienko, jenokizm, Mario, heygude, AyagiKei, Ezequiel Di Pasquale, Vaclav Souhrada and 7 more
Example use case (for me) would be to show the user that they dont have an internet connection currently. There isn't really a good way currently to communicate to the user about something critical such as internet, let alone other minor informational things that are not disruptive to using the app.
My use case is I have a RecyclerView that takes up the whole screen and I feel that this component could just slide unintrusively in with information. While internet is crucial to updating stuff its not crucial to using the app in the sense that they can continue using the app and things will update later
Reacted by Jan Škrášek, yarkh, Davide Steduto, Roland Mosimann, Tauno Talimaa, Nuh Koca, jenokizm, heygude, Guybrush, Dimitri Innocent and 2 more
Reacted by Phillip Kigenyi, Barry Sia, Okuhle Ngada, Benoit Billington, Fabian Keunecke, heygude, Ahmed Khattab, Brill Pappin, Robert Peralta and MikiMirai
People who created the separate component outside the material repository could create a direct pull request on lib
Maintaining two repositories is kind of complicated to be honest
Although the project was very good, congratulations
Internally we're not seeing a lot of requests for this component versus using a Card. Can those of you that want to see the component as part of the library provide example use cases where a Card or Dialog with the information would not suffice?
@ldjcmu could you elaborate on this a bit? Do you mean —
that to implement the Banner design pattern we don't need a Banner Android component per se, and we can just use a card somehow?
that the Banner pattern itself is unneeded as described on the Material Design site?
I think that there's a good use-case outlined for the Banner component on the material.io website, but I'd take guidance if something else should be preferred. (Part of the reason of looking into Material Design is to try and adopt established best practice so definitely not a UX expert).
As someone coming at this new, it's a bit confusing.
Reacted by Jordan Bouëllat, Simon Hardt, Tauno Talimaa, Vyshakh, heygude, Nick Templeton and Brill Pappin
I agree it's confusing. I meant to say that we're seeing people workaround it with components like cards and that it's not been coming up as one of the top requests over say, Sliders. We do accept PRs and are happy to take a look at one submitted, hopefully with a catalog demo and tests :)
I'll resurface to our new component product managers the request.
Reacted by Guybrush, Pavlos-Petros Tournaris, Ed Lomonaco, Tauno Talimaa, Manaus, Mario, Vyshakh, heygude, Brill Pappin and Róbert Papp
When you mention that people are working around it — is that:
developers saying "I don't need a dedicated Banner component, I can implement it as a card with different styling" or
the UX designers saying "actually, we're not using Banner as much as we thought, you really only need "Snackbars" and "Dialogs".
Sorry for banging the drum a bit, but the README says the repo is maintained jointly by "a core team of engineers and UX designers at Google", so just trying to find out which angle you're coming from when you say "we" or "internally" (design vs dev).
Don't mind if I need to roll my own (or use one of the ones linked above), but want to make sure I'm about to implement something that's soon to be considered deprecated. Presume that if you're open to taking PRs though it'd be fair to say that the Banner should be used, it's just not highest priority to have a turn-key implementation of?
Reacted by jenokizm, lukasasnik-clearscore, Ian H White, Henrique Faria, Thijs Koppen, Wim Bervoets, Giallombardo Nathan, Danni, Rasoul Miri, Valeriy Katkov and 12 more
Internally we're not seeing a lot of requests for this component versus using a Card. Can those of you that want to see the component as part of the library provide example use cases where a Card or Dialog with the information would not suffice?
we really need the component as an option to really invest in it, and get the designers on board, but I can tell you that I want to use it as an in-app persistent notification. A little like a Snackbar that is persistent on a view, then the user needs to take action to activate the view.
My 2 Cents: Sure it makes all the sense to implement Banner, especially since it's up there in material.io
The side effect of ignoring it is, you essentially dissing what UI design gurus preachin
For consistency sake, it's got to be there and available to devs
On the somewhat convoluted defense of not seeing much need - you may as well say people can implement any UI widgets they wish. Technically true, but, hey, there's got to be a better way , right?
By "internal" do you mean Google? Because IMO that doesn't really represent the ecosystem of app developers as a whole, see all the reactions on this issue.
Google needs to stay consistent to project credible mobile-UX thought leadership.
Material' as a whole is a good design philosophy, and as such it needs a backing in the form of working code
Lacking in the code takes away from, discredits the idea
How is not this simple thing clear?
You're right that this isn't a component that's been brought forward with Material You. If that changes in the future, we can re-open this or create a new issue that more specifically tracks a Material3 banner.
Activity
joniruokamo commentedon Aug 1, 2018
When is this component coming out?
KevinGiacomino commentedon Oct 8, 2018
Hey, not available yet ?
ldjcmu commentedon Dec 19, 2018
Hi all,
Internally we're not seeing a lot of requests for this component versus using a Card. Can those of you that want to see the component as part of the library provide example use cases where a Card or Dialog with the information would not suffice?
cesarferreira commentedon Dec 19, 2018
What about the animation?
I already made a version of this:
https://github.com/cesarferreira/MaterialComponent.Banner
the only issue is a small repetition of the hidding animation (you can check the example)
Ferdzz commentedon Dec 20, 2018
Here are a few reasons I feel it would be good to have an official component
Let me know what you think of these / if you think of more reasons
tyczj commentedon Jan 10, 2019
Example use case (for me) would be to show the user that they dont have an internet connection currently. There isn't really a good way currently to communicate to the user about something critical such as internet, let alone other minor informational things that are not disruptive to using the app.
My use case is I have a RecyclerView that takes up the whole screen and I feel that this component could just slide unintrusively in with information. While internet is crucial to updating stuff its not crucial to using the app in the sense that they can continue using the app and things will update later
XyrizTan commentedon Jan 21, 2019
I was able to achieve this effect using TransitionManager https://developer.android.com/training/transitions/
My xml goes like this (I'll omit the other attributes):
rootContaineris the root/parent view, which in my case is a vertical LinearLayoutbanneris any view you want to show/hideYou can supply your own transition, what I made looks like this:
BannerTransition.ktsergivonavi commentedon Apr 4, 2019
I've created a library according to the Material design Banners specs (almost).
You can check it here:
https://github.com/sergivonavi/MaterialBanner
joshuamking-driveclutch commentedon Apr 4, 2019
@ldjcmu Does the
material-components-androidproject accept PR's for new components?charleston10 commentedon Aug 1, 2019
People who created the separate component outside the material repository could create a direct pull request on lib
Maintaining two repositories is kind of complicated to be honest
Although the project was very good, congratulations
0xGuybrush commentedon Oct 16, 2019
@ldjcmu could you elaborate on this a bit? Do you mean —
I think that there's a good use-case outlined for the Banner component on the material.io website, but I'd take guidance if something else should be preferred. (Part of the reason of looking into Material Design is to try and adopt established best practice so definitely not a UX expert).
As someone coming at this new, it's a bit confusing.
ldjcmu commentedon Oct 16, 2019
I agree it's confusing. I meant to say that we're seeing people workaround it with components like cards and that it's not been coming up as one of the top requests over say, Sliders. We do accept PRs and are happy to take a look at one submitted, hopefully with a catalog demo and tests :)
I'll resurface to our new component product managers the request.
0xGuybrush commentedon Oct 17, 2019
OK, thanks.
When you mention that people are working around it — is that:
Sorry for banging the drum a bit, but the README says the repo is maintained jointly by "a core team of engineers and UX designers at Google", so just trying to find out which angle you're coming from when you say "we" or "internally" (design vs dev).
Don't mind if I need to roll my own (or use one of the ones linked above), but want to make sure I'm about to implement something that's soon to be considered deprecated. Presume that if you're open to taking PRs though it'd be fair to say that the Banner should be used, it's just not highest priority to have a turn-key implementation of?
Thanks
Dave
Ein6tein commentedon Dec 9, 2019
Yeah... Banner would be actually really helpful to have!
nikiJava commentedon Mar 24, 2020
Hello!) Do you plan to release banners?
EvgenyTerebenin commentedon Aug 6, 2020
Hi! I found custom view similar to banner in IOSched repository. Look at this https://github.com/google/iosched/blob/master/mobile/src/main/res/layout/item_codelabs_information_card.xml

bpappin commentedon Jun 23, 2021
we really need the component as an option to really invest in it, and get the designers on board, but I can tell you that I want to use it as an in-app persistent notification. A little like a Snackbar that is persistent on a view, then the user needs to take action to activate the view.
fanshtorm commentedon Sep 2, 2021
I need this component!
skreenr commentedon Jan 10, 2022
My 2 Cents: Sure it makes all the sense to implement Banner, especially since it's up there in material.io
The side effect of ignoring it is, you essentially dissing what UI design gurus preachin
For consistency sake, it's got to be there and available to devs
On the somewhat convoluted defense of not seeing much need - you may as well say people can implement any UI widgets they wish. Technically true, but, hey, there's got to be a better way , right?
Bottom line: Get it done, and get it over with!
TWiStErRob commentedon Jan 17, 2022
@ldjcmu a bump on this 4 years and 100 👍🏻 later.
By "internal" do you mean Google? Because IMO that doesn't really represent the ecosystem of app developers as a whole, see all the reactions on this issue.
Re: "we're seeing people workaround", which means that there's need, but since it's not available, everyone rolls their own, because they have to.
skreenr commentedon Jan 21, 2022
Google needs to stay consistent to project credible mobile-UX thought leadership.
Material' as a whole is a good design philosophy, and as such it needs a backing in the form of working code
Lacking in the code takes away from, discredits the idea
How is not this simple thing clear?
backslashV commentedon Jul 31, 2022
build.gradle can't download it anymore!
Failed to resolve: com.sergivonavi:materialbanner:1.2.0TWiStErRob commentedon Jul 31, 2022
@backslashV Because it's only in
jcenter()... @sergivonavi could you publish to mavenCentral()?cyb3rko commentedon Oct 29, 2022
It looks like it isn't included in Material You (https://m3.material.io/components).
As this is the new standard, I suppose to close this issue, right?
hunterstich commentedon Nov 1, 2022
@cyb3rko,
You're right that this isn't a component that's been brought forward with Material You. If that changes in the future, we can re-open this or create a new issue that more specifically tracks a Material3 banner.