Software Archive
Read-only legacy content
17061 Discussions

XDK android Theme ( debug vs Build) different?

Miguel_Q_
Beginner
233 Views

When i build in debug, the theme of android is different from the final build one, why?

This causes native webview dialogs and alerts to become ugly to android 1.6 era !

 

Can that be changed to device default? somehow?

 

using the plugin.xml ?

0 Kudos
3 Replies
Elroy_A_Intel
Employee
233 Views

The native dialogs and alert views are determined by the operating system  and can not be modified. You can leverage modals and other UI element via web frameworks such as Material Design for Bootstrap.

0 Kudos
Soon_Jack_N_
Beginner
233 Views

the native 1 in chrome and web view will be the native input base on the android version, but XDK build will always get the Android 1.6 theme

and there is no way to modified the manifest like phonegap to modified it, waited half year plus but still no update from your side

0 Kudos
PaulF_IntelCorp
Employee
233 Views

There have been some attempts to modify this using a simple plugin. Search the forum, I believe someone managed to modify the default theme using this technique. The next release of the XDK normalizes the theme used by the custom Debug module and the build system so they are the same.

0 Kudos
Reply