Material Theme Support on Android

grant

Member
CX Code Contributor
3rd Party Module Dev
Joined
Nov 19, 2019
Messages
81
This edit adds support for the material theme on Android. It falls back to the Holo theme on Android 4-4.4 and the original Android theme on older versions.

The game developer can change the colors of the theme like this in their CXS configuration.

Code:
#ANDROID_STYLE_COLOR_PRIMARY="#566"
#ANDROID_STYLE_COLOR_PRIMARY_DARK="#333"
#ANDROID_STYLE_COLOR_ACCENT="#0CB"

 

MikeHart

Administrator
Joined
Jun 19, 2017
Messages
3,168
Mmh, thanks. But I fail to see what this is good for CX, as we don't use the native UI, or?
 

grant

Member
CX Code Contributor
3rd Party Module Dev
Joined
Nov 19, 2019
Messages
81
The colors will show up outside of the game. Such as in the recent apps screen, or if the game developer uses dialogs.
 
Top Bottom