StreetComplete icon indicating copy to clipboard operation
StreetComplete copied to clipboard

Migrate to Material Design 3

Open westnordost opened this issue 3 years ago • 3 comments

The dependency com.google.android.material:material:1.5.0 now has support for Material Design 3.

There is some migration to be done for that: https://material.io/blog/migrating-material-3

As far as I understand, Material Design introduces a new look for all the default components starting with Android 12 and gives the user the ability to define some system-wide color schemes. See https://m3.material.io/

Anyone interesting in doing this migration?

westnordost avatar Jan 18 '22 13:01 westnordost

I'd be happy to test it (with Android 12 here).

rugk avatar Apr 06 '22 20:04 rugk

Best if the one who implemented this also tested this. But it shouldn't be too complicated to do this without much knowledge of the code. Most of it will be a search and replace and following the migration guide linked. Are you interested to do that?

westnordost avatar Apr 06 '22 20:04 westnordost

Not yet here, I'll keep it in mind though.

rugk avatar Apr 06 '22 21:04 rugk

Uhm, I started migrating, but Material 3 is really ugly...

westnordost avatar Aug 30 '22 22:08 westnordost

I'll just update the dependency but not migrate to Material 3. The differences are not big, but what is changed looks ugly or decreases usability, e.g.

  • smaller text but bigger padding on buttons decreases readability
  • all buttons are round now, which makes them all look like tags (e.g. the "open" tag on github, see above)
  • but FABs are now mostly rectangular and light-pink. because... 🤷??
  • default background is not white but very light pink... eh 🤷?
  • top (and bottom) navigation also have that light pink background and don't stand out from the rest of the view (I think there is not even a shadow or divider line) at all. What is this trend to remove all dividers, shadows and lines?
  • plus the difference in styles is causing all sorts of subtle glitches I'd need to fix. I don't really wan to invest the time to make work a style that is just less good than the current one.

Maybe some time Google will come up with Material 4 or something.

westnordost avatar Aug 30 '22 22:08 westnordost

What I heard as a good thing about Material Design 3 though is that it can adapt to the color you choose in your system settings, i.e. all apps are also styled somewhat like that. That sounds cool, actually. (without knowing how it works/looks like)

rugk avatar Sep 02 '22 22:09 rugk