This article describes how to support dark themes in your Meridian-powered app.
Enable Dark Theme Support
To enable dark theme support in your Meridian-powered SDK app, you’ll need to set
// Enable support for dark theme within Meridian SDK. Meridian.getShared().supportDarkTheme(true);
forceDarkAllowed, declare a style in
res/values-night/styles.xml and set
true. Use this theme style for the map activity.
The dark theme being used for map activity must inherit from a
Review SDK Sample App
The Meridian Android SDK Sample app provides an example of the dark theme enabled.