#Wilcalaf

1 messages ยท Page 1 of 1 (latest)

mellow nacelleBOT
civic fossil
#

Hello ๐Ÿ‘‹
can you share the code you've tried?

tall smelt
#

<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)

civic fossil
#

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 ๐Ÿ˜…

tall smelt
#

Im using jetpack cpmpose so its inside an android view of jetpack compose

#

But the android view should inherit straigjt form the styles

civic fossil
tall smelt
#

Whats the splution they suggested there?

civic fossil
#

The issue was rising due to app not supporting darkmode

tall smelt
#

Yeah our app doesnt support darkmode in fact thats why we using the material componemts light theme

#

Is the way to disable dark mode

civic fossil
#

Must be. Would recommend looking up docs and google ๐Ÿ˜…

tall smelt
#

yeah thats what i tried at first however i didnt find anything