summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xXamarin.Forms.Platform.Tizen/ResourcePath.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/ResourcePath.cs b/Xamarin.Forms.Platform.Tizen/ResourcePath.cs
index b3678727..0fde30f7 100755
--- a/Xamarin.Forms.Platform.Tizen/ResourcePath.cs
+++ b/Xamarin.Forms.Platform.Tizen/ResourcePath.cs
@@ -1,3 +1,4 @@
+using System;
using System.IO;
using AppFW = Tizen.Applications;
@@ -13,6 +14,16 @@ namespace Xamarin.Forms.Platform.Tizen
return res;
}
+ foreach (AppFW.ResourceManager.Category category in Enum.GetValues(typeof(AppFW.ResourceManager.Category)))
+ {
+ var path = AppFW.ResourceManager.TryGetPath(category, res);
+
+ if (path != null)
+ {
+ return path;
+ }
+ }
+
AppFW.Application app = AppFW.Application.Current;
if (app != null)
{