From: Hyerim Kim Date: Thu, 27 Apr 2017 04:40:51 +0000 (+0900) Subject: Changes image resources X-Git-Tag: submit/tizen/20170808.015446~76 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a6a85eb8a095bc7214dcff7370a337f36c88a5c;p=profile%2Ftv%2Fapps%2Fdotnet%2Fhome.git Changes image resources Added test code of getting recent item for demo. Change-Id: I40d152d46badf20b331e5a7d07e0f18e60d112d1 Signed-off-by: Hyerim Kim --- diff --git a/LibTVRefCommonPortable/Models/RecentShortcutController.cs b/LibTVRefCommonPortable/Models/RecentShortcutController.cs index 030187a..c010985 100755 --- a/LibTVRefCommonPortable/Models/RecentShortcutController.cs +++ b/LibTVRefCommonPortable/Models/RecentShortcutController.cs @@ -72,7 +72,26 @@ namespace LibTVRefCommonPortable.Models { List recentShortcutInfoList = new List(); - var recentApps = ApplicationManagerUtils.GetRecentApplications(); + var defaultStateDescription = new StateDescription() + { + Label = "Youtube", + IconPath = "ic_home_settings_all_138.png", + Action = new AppControlAction() + { + AppID = "org.tizen.example.Youtube.TizenTV", + } + }; + var recentShortcutInfo = new RecentShortcutInfo(); + string testScreenShot = "org.tizen.example.Youtube.Tizen.png"; + + recentShortcutInfo.ScreenshotPath = testScreenShot; + + recentShortcutInfo.StateDescriptions.Add("default", defaultStateDescription); + recentShortcutInfo.CurrentStateDescription = defaultStateDescription; + recentShortcutInfo.AppID = "org.tizen.example.Youtube.TizenTV"; + recentShortcutInfoList.Add(recentShortcutInfo); + + /*var recentApps = ApplicationManagerUtils.GetRecentApplications(); foreach (var item in recentApps) { if (ManagedApps.IsHiddenRecentApp(item.AppID)) @@ -116,7 +135,7 @@ namespace LibTVRefCommonPortable.Models recentShortcutInfo.CurrentStateDescription = defaultStateDescription; recentShortcutInfo.AppID = item.AppID; recentShortcutInfoList.Add(recentShortcutInfo); - } + }*/ return recentShortcutInfoList; diff --git a/TVHome/TVHome.TizenTV/TVHome.TizenTV.csproj b/TVHome/TVHome.TizenTV/TVHome.TizenTV.csproj index 193a32e..c83878e 100755 --- a/TVHome/TVHome.TizenTV/TVHome.TizenTV.csproj +++ b/TVHome/TVHome.TizenTV/TVHome.TizenTV.csproj @@ -104,6 +104,8 @@ + + @@ -125,8 +127,6 @@ - - diff --git a/TVHome/TVHome.TizenTV/res/btn_option_menu_nocontent_bg.9.png b/TVHome/TVHome.TizenTV/res/btn_option_menu_nocontent_bg.9.png index a71e7f1..1ccfabb 100755 Binary files a/TVHome/TVHome.TizenTV/res/btn_option_menu_nocontent_bg.9.png and b/TVHome/TVHome.TizenTV/res/btn_option_menu_nocontent_bg.9.png differ diff --git a/TVHome/TVHome.TizenTV/res/ic_list_thumbnail_gradient_focused.9.png b/TVHome/TVHome.TizenTV/res/ic_list_thumbnail_gradient_focused.9.png new file mode 100755 index 0000000..c0f72df Binary files /dev/null and b/TVHome/TVHome.TizenTV/res/ic_list_thumbnail_gradient_focused.9.png differ diff --git a/TVHome/TVHome.TizenTV/res/ic_list_thumbnail_gradient_normal.9.png b/TVHome/TVHome.TizenTV/res/ic_list_thumbnail_gradient_normal.9.png new file mode 100755 index 0000000..5231a0d Binary files /dev/null and b/TVHome/TVHome.TizenTV/res/ic_list_thumbnail_gradient_normal.9.png differ diff --git a/TVHome/TVHome.TizenTV/res/ic_tizen_list_thumbnail_gradient_focused.9.png b/TVHome/TVHome.TizenTV/res/ic_tizen_list_thumbnail_gradient_focused.9.png deleted file mode 100755 index c851aa2..0000000 Binary files a/TVHome/TVHome.TizenTV/res/ic_tizen_list_thumbnail_gradient_focused.9.png and /dev/null differ diff --git a/TVHome/TVHome.TizenTV/res/ic_tizen_list_thumbnail_gradient_normal.9.png b/TVHome/TVHome.TizenTV/res/ic_tizen_list_thumbnail_gradient_normal.9.png deleted file mode 100755 index 32e5a34..0000000 Binary files a/TVHome/TVHome.TizenTV/res/ic_tizen_list_thumbnail_gradient_normal.9.png and /dev/null differ