Recent searches


No recent searches

PLEASE create (easier) Material3 dark mode support in the Android Support SDK



Posted Sep 10, 2024

Can the Zendesk Android engineering team PLEASE create (easier) Material3 dark mode support in the Android Support SDK?

 

My end goal is to have a dark background on the article's body area. See how it's lightly colored below? I'd like to be able to set the CSS body color to a dark color and have the text color be a lighter color. Right now, my entire app is in proper dark mode and then when I open a Zendesk article, the user's eyes get blown out from the white brightness of the Zendesk article.

 

------------------------------------------------------------------------------------------------------------------------------

 

Yes, I know the CSS can be changed https://developer.zendesk.com/documentation/classic-web-widget-sdks/support-sdk/android/customizing_the_look/#change-the-style-of-help-center-articles . However, this CSS file setup doesn't allow for any way to programmatically adjust the CSS based on the app/device day/night Material3 theming.

 

Perhaps let developers define the CSS_FILE String? This way, I could check whether the app should be in day/night mode and then have it fetch the correct CSS file that I've placed in my app.

    private static final String CSS_FILE = "file:///android_asset/help_center_article_style.css";

------------------------------------------------------------------------------------------------------------------------------


If the SDK level is at least Tiramisu,  the WebView in the SDK's ViewArticleActivity could use isAlgorithmicDarkeningAllowed

 

 

------------------------------------------------------------------------------------------------------------------------------

 

In general, it'd be nice if the Support SDK would get a bit more with the times and support Material 3 a bit more.

 

------------------------------------------------------------------------------------------------------------------------------

 

Other Zendesk users hoping for the same flexibility:

 


0

3

3 comments

image avatar

Shawna James

Community Product Feedback Specialist

Hey Langston,

 

Thank you for taking the time to provide us with your feedback. This has been logged for our PM team to review. For others who may be interested in this feature request, please add your support by upvoting this post and/or adding your use case to the comments below. Thank you again!

1


image avatar

Onur Okutan

Zendesk Product Manager

Hi Langston, thank you so much for taking the time to provide us with your feedback here. I wanted to note that we've added your input to our feature request list for review. We are going to leave this post open for comment to allow others to provide their feedback.

Thank you again for your feedback.

1


Thanks Shawna James and Onur Okutan . I really hope Zendesk Android engineers can quickly provide fellow Android folks with some more flexibility around this day/night topic, and as I said in my post above, generally support Material3 more. 

 

I also hope that I'm somehow notified if/when this particular ticket is resolved so that I can update the app that I work on.

 

Conversation moving in Zendesk Slack community at https://zendesk-platform.slack.com/archives/C17NW54E5/p1716405023809429, too.

 

---------------

 

 

 

 

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post