Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about material-you

Read more about material-you

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - material-you

Surface at +(...)% colors in jetpack compose

In official Material Design 3 resources (e.g. the Figma design kit), there have been many references to colors called "Surface at +x". These colors are the surface color mixed with x% of the...
test-img

BSh

android

material-design

android-jetpack-compose

material-you

Votes: 0

Answers: 3

Latest Answer

In case anyone need to get it in a non-compose code, use SurfaceColors enums: int colorSurface1 = SurfaceColors.SURFACE_2.getColor(context); Documentation can be found here
test-img

Dannie

Adjust androidx.preference dialogs to follow Material You

I have two apps containing a preference section, and i'm using the preference library, the latest version available at the time of writing: implementation "androidx.preference:preference:1.2....
test-img

m.i.n.a.r.

android

material-design

android-preferences

material-dialog

material-you

Votes: 0

Answers: 3

Latest Answer

At the moment, Preference Dialogs still use AlertDialog to inflate the view. Here's what I defined in my styles.xml to apply the Material3 dialog theme to them: NOTE: This covers most of the MaterialA...
test-img

Bryan W

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved