Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theme.AppCompat theme (or descendant) with this activity #402

Closed
VNAPNIC opened this issue Jul 29, 2022 · 0 comments
Closed

Theme.AppCompat theme (or descendant) with this activity #402

VNAPNIC opened this issue Jul 29, 2022 · 0 comments

Comments

@VNAPNIC
Copy link

VNAPNIC commented Jul 29, 2022

I get this error on some models
OPPO CPH1909
OPPO A5
Motorola WOOD
Vivo 1811
HUAWEI Honor 7A

And after a while of researching, I found out the reason is that the Theme is in use

<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
   ...
</style>

I changed it

<style name="LaunchTheme" parent="Theme.AppCompat.Light.NoActionBar">
    <item name="android:windowNoTitle">true</item>
    <item name="android:windowActionBar">false</item>
     <item name="windowActionBarOverlay">true</item>
   ...
</style>

and it worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant