Allow ui.xml to include additional xml files to read
Use common portrait and landscape xml files based on resolution
defined by the device.
Change-Id: Iec528f9d846d49857ff98de1ac201e25dbb60339
diff --git a/gui/resources.cpp b/gui/resources.cpp
index 7a50a89..8d430b1 100644
--- a/gui/resources.cpp
+++ b/gui/resources.cpp
@@ -183,6 +183,11 @@
ResourceManager::ResourceManager(xml_node<>* resList, ZipArchive* pZip)
{
+ LoadResources(resList, pZip);
+}
+
+void ResourceManager::LoadResources(xml_node<>* resList, ZipArchive* pZip)
+{
xml_node<>* child;
if (!resList)