question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Material3 button not found

See original GitHub issue

I added material 3 succesfully in my app, and most of the widgets work, but the Button widget is nowhere to be found.

Material3 Text, Icon, IconButton, Scaffold and TopAppBars work, but I can’t import material3.Button, only material.Button works

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
jakobkmarcommented, Jan 7, 2022

@dragossusi you can see the state of Material 3 compose-jb is currently using here while the origin repo already has a lot more components. This is not really a bug, it is just behind.

1reaction
jakobkmarcommented, Jan 6, 2022

The only problem here is that the material3 dependency exposed by compose-jb is very old, while 1.0.0-alpha02 is already around and all documentation is made for that version. It just has to be updated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Button not showing Material Design - android - Stack Overflow
I've found out that the reason is that I'm using the Android-Iconics library - I removed the context injection and everything is fine...
Read more >
Common buttons – Material Design 3
Button labels use ALL CAPS. M3: Buttons are taller at 40dp and have fully rounded corners. Button labels use sentence case. This website...
Read more >
androidx.compose.material3 - Android Developers
In this page, you'll find documentation for types, properties, and functions available in the ... This is not called when the dismiss button...
Read more >
Theming Material Design Buttons in Android with Examples
Step 4: Working with the activity_main.xml. In this case, a typical 3 material ... there is no style attribute for contained button-->.
Read more >
Material 3 Design Kit | Figma Community
I didn't find the segmented buttons. Is it me or It's just not there? Marc2 months ago. I' ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found