#Wilcalaf
1 messages ยท Page 1 of 1 (latest)
Hello ๐
can you share the code you've tried?
<style name="AppTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<!-- Customize your theme here. -->
<item name="android:editTextBackground">@android:color/transparent</item>
<item name="colorSecondary">@color/md_theme_light_secondary</item>
<item name="colorError">@color/md_theme_light_error</item>
<item name="colorPrimary">@color/md_theme_light_secondary</item>
<item name="android:statusBarColor">@color/md_theme_light_secondary</item>
<item name="colorPrimaryVariant">@color/md_theme_light_secondary</item>
<item name="colorPrimaryDark">@color/md_theme_light_secondary</item>
<item name="colorSecondaryVariant">@color/md_theme_light_secondary</item>
<item name="colorOnSecondary">@color/md_theme_light_secondary</item>
<item name="colorOnPrimary">@color/md_theme_light_secondary</item>
<item name="colorControlNormal">@color/md_theme_light_secondary</item>
<item name="colorAccent">@color/md_theme_light_secondary</item>
<item name="colorOnBackground">@color/md_theme_light_secondary</item>
<item name="colorOnSurface">@color/md_theme_light_secondary</item>
</style>
this is my last try
i tried overriding the colors but i dont seem to be able to reach that one
i changed the parent however and it did affect however it also changes my whole application colors
i need it to be on Theme.MaterialComponents.Light (no dark mode)
Do you have the element added directly on the parent or is there a diff layout/component in between?
Just a heads up, my android app styling skills aren't super great ๐
Im using jetpack cpmpose so its inside an android view of jetpack compose
But the android view should inherit straigjt form the styles
This behavior reminds me of the github issue here
https://github.com/stripe/stripe-android/issues/5965
Whats the splution they suggested there?
The issue was rising due to app not supporting darkmode
Yeah our app doesnt support darkmode in fact thats why we using the material componemts light theme
Is the way to disable dark mode
Must be. Would recommend looking up docs and google ๐
yeah thats what i tried at first however i didnt find anything