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

Android ContextMenu Change Colors #108

Open
SalihColak opened this issue Dec 31, 2023 · 8 comments
Open

Android ContextMenu Change Colors #108

SalihColak opened this issue Dec 31, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@SalihColak
Copy link

Is there any way to change the background and the text color of the ContextMenu on Android? In IOS it is automatically changed when switching to light/dark mode.

@mpiannucci mpiannucci added the bug Something isn't working label Jan 1, 2024
@MRadek55
Copy link

MRadek55 commented Jan 9, 2024

+1

@impe93
Copy link

impe93 commented Mar 16, 2024

Same problem here, I would like to have the possibility to change default colors on Android.

At the moment the situation is the following, and it's not good looking.

Screenshot 2024-03-16 alle 12 37 47

@mpiannucci
Copy link
Owner

on iOS the context menu follows the system theme automatically. Is there a way to do the same on Android?

@MrAdex77
Copy link

+1 this is really needed

@impe93
Copy link

impe93 commented Mar 21, 2024

on iOS the context menu follows the system theme automatically. Is there a way to do the same on Android?

I'm going to check when I have some spare time mate, if I get something I'll let you know or I'm going to open a PR to fix 👍

@DavichoStar
Copy link

Any news with this? Or a temporary solution?

@tarnumius
Copy link

tarnumius commented Aug 15, 2024

Any news with this? Or a temporary solution?

You can disable dark theme in you app permanantly by change styles.xml

Change line <style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar"> to <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">

@vafada
Copy link
Contributor

vafada commented Sep 21, 2024

seems to work for me w/o changing anything.

Using the example app

light theme:

Screenshot from 2024-09-21 18-49-35

dark theme:
Screenshot from 2024-09-21 18-53-23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants