loadTheme

load theme from XML document

Sample:

<?xml version="1.0" encoding="utf-8"?>
<theme id="theme_custom" parent="theme_default">
      <style id="BUTTON"
            backgroundImageId="btn_background"
         >
      </style>
</theme>
  1. bool loadTheme(Theme theme, Element doc, int level)
    bool
    loadTheme
    (,
    Element doc
    ,
    int level = 0
    )
  2. bool loadTheme(Theme theme, string resourceId, int level)
  3. Theme loadTheme(string resourceId)

Meta