i have use this theme Theme.MaterialComponents.Light.NoActionBar for the activity but it works fine in android emulator with android version R and API level 30.But when i installed APK inside samsung A51 model with customize os One UI 3.0 with Android R its look is change Please help me with this
I have been using theme code inside theme.xml file
<style name="Theme.MediLogix" parent="Theme.MaterialComponents.Light.NoActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">#79BC2E</item>
<item name="colorPrimaryVariant">#79BC2E</item>
<item name="colorPrimaryDark">#79BC2E</item>
<item name="colorOnPrimary">@color/white</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_700</item>
<item name="colorOnSecondary">@color/black</item>
</style>
its working fine inside android emulator with Android 11
but in samsung A51 with android 11 customize os One UI 3.0. it look like this

