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

On inkpalm eink display, the preferences don't #113

Open
frank-murphy opened this issue May 29, 2024 · 5 comments
Open

On inkpalm eink display, the preferences don't #113

frank-murphy opened this issue May 29, 2024 · 5 comments

Comments

@frank-murphy
Copy link

Screenshot of EPD105

This is an Android 8 device. When I try to change any preference, the dialog is all white, so it's impossible to see anything. By tapping around, it is possible to change the settings, which works. I was able to change the icon set, for example.

@markusfisch
Copy link
Owner

Hm, that's surprising! 😳 Thanks for filing an issue! 👍

The problem here seems to be that the text color of the options is not inverted as the headline is. Usually, this dialog should have a dark background with white text on it. Since this styling comes from the system (the app doesn't style the dialog at the moment), and the app is using a default API (AlertDialog.Builder.setItems() here) to set the options (without any styling), I would expect this to happen to other dialogs (using the same API) in other apps as well 🤔

Just out of curiosity: is there a (system) setting to not invert these dialogs maybe?

Since I don't have an InkPalm, it's not too easy to find a solution for this, unfortunately.

@frank-murphy
Copy link
Author

Do you think you could post a screenshot of what this is supposed to look like? I'm trying to investigate what's going on on my device.

@markusfisch
Copy link
Owner

Sure, this is the same screen (albeit in german) from the eink display of a Yotaphone 2:

Screenshot_20240606-093441

It's a lot dimmer than what you see. Is it possible that High Contrast mode (may be in Settings > Accessibility > Display size and text or Visibility enhancements) is enabled on the InkPalm? 🤔

@frank-murphy
Copy link
Author

Thanks. There is no Hi Contrast mode in Android 8.1 (Oreo), it seems. But I think you're right that it has something to do with theming. You see that the background of your dialog box is grey, but mine is white, then the "Orientation" text is black and centered, while the "Ausrichtung" text is white and left-aligned.

I bet the "Portrait", "Landscape", and "Auto" text is also white and left-aligned on my screen which is why I can't see it.
...
Ah. I think I found it. I changed the values-v21/styles.xml to specifically have "Light" there and it works great

@frank-murphy
Copy link
Author

Adding a "Dark Mode" option that would follow the system, or override to Dark or Light would be cool. I see that with other apps, like Material Files.

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

2 participants