Questions tagged [material-you]

Use this tag for Material You or Material Design 3 related questions. https://m3.material.io/

44 questions
4
votes
1 answer

Google Material You: How can we use the same Color Accent than system+Google Apps?

I have read the "documentation" to find the reference to accent color: https://developer.android.com/reference/android/R.color#system_accent1_0 But after implementing it in my application, I am not happy with the results and really like the Google…
Waza_Be
  • 39,407
  • 49
  • 186
  • 260
3
votes
0 answers

Style date picker like the google calendar app in compose

I'm having some trouble styling a date picker in the way the google calendar app does. This is the code for showing the picker in a compose project using material you. @Composable fun rememberDatePicker(): DatePickerDialog { val context =…
Isak
  • 548
  • 2
  • 5
  • 20
2
votes
1 answer

Flutter - Getting Seed colors back from Tonal Palette M3

M3 colorscheme provides all properties like, primary, onPrimary, secondary, onSecondary etc, but they are generally not exactly the same from the colors they are generated from, i.e., the generated colors are different from the seed values. For…
Sahdeep Singh
  • 1,342
  • 1
  • 13
  • 34
2
votes
1 answer

How to supply an image to create and apply a dynamic content based color scheme?

The Material 3 Design guidelines describes the option of theming based on content (instead of theming based on the current wallpaper of the user). See below for the…
2
votes
2 answers

Widget that contains image with rounded corners

How to make a Material You-like widget with image whose corners are rounded? It is already made in Google Photo, but how to get the same effect? Many ways (like ShapeableImageView) are forbidden and impossible to bypass due to restrictions of…
Vreny
  • 71
  • 7
2
votes
2 answers

How to implement modern Card component (a'la Material Design 3.0) in Jetpack Compose

How can I implement using Compose these modern, subtle Card components, seen in updated Google apps? They don't have border, they are a little bit elevated, with a subtle shadow behind. I tried fiddling with modifiers on standard Card, but didn't…
2
votes
1 answer

Change icons in Material You bottom navigation bar in active and inactive states

Google recently released Material You (M3) for Android. According to the design guidelines, as stated here: https://m3.material.io/components/navigation-bar/overview, bottom navigation bars' icons have to be outlined when inactive and filled when…
1
vote
0 answers

Referencing Material 3 material_dynamic_* colors causes crash below Android 12

Material 3 dynamic colors @color/material_dynamic_* do not seem to exist on android versions that do not natively support dynamic color (i.e. < Android 12). This causes a crash with Resources$NotFoundException: Drawable…
CryptoAlgorithm
  • 838
  • 5
  • 15
1
vote
1 answer

How does Material 3 work on older android devices?

I'm a beginner in android and jetpack compose and I want to build apps with Material 3, but Material 3 works only on Android 12 and above. Does that mean that the app will not work on older android devices or it will automatically switch to Material…
1
vote
0 answers

Change the shape of activated item in BottomNavigation material 3

In the new BottomNavigation material 3, we have a default indicator for the active item, that's cool but I wonder if we can custom the shape of that indicator in any way? Thanks in advance
1
vote
0 answers

change MaterialYou /Material3 Colors on lower SDK versions

Recenntly I switched to material3 theming. All are perfect on Android 12 devices. But when it comes to lower SDK versions there a default light blue/purple color which cannot be changed. But we can change this color manually by defining the material…
Yasiru Nayanajith
  • 1,647
  • 17
  • 20
1
vote
0 answers

Is it possible to have an Android app both follow Material 3 and MDC?

I am developing and Android app for my Android 12 device. Naturaly, I want the UI to match the new Material 3 design. However, how are older devices handled? How can I make my app look native on Android 11 as well? Currently I have MDC version 1.5.0…
0
votes
1 answer

Material3 - How to access the hex color values?

I recently updated my Android Studio version to the newest one (giraffe) and I noticed the themes.xml is now changed and does not give you the colors (teal and purple) like it would in previous versions. But once I ran the newly created app, I…
DIRTY DAVE
  • 2,523
  • 2
  • 20
  • 83
0
votes
0 answers

postSplashScreenTheme does not apply theme after splash screen

After implementing the Splash Screen API as indicated by Android documentation (also this and this), the launch activity (which goes right after the splash screen) does not have dynamic color theming like the rest of the app. The splash screen…
0
votes
0 answers

Android Widget : Dynamic colors not updating

When switching Color Palette from the Android Theme page, I think there is a system bug : all the 4 first colors are applied without errors but all the colors of the next pages fallback to the colors of the first page totally ignoring what I…
Jscti
  • 14,096
  • 4
  • 62
  • 87