From e7645b390553fe01d07e935b25ce4be9ea08a237 Mon Sep 17 00:00:00 2001 From: cskim Date: Wed, 15 Mar 2017 17:28:18 +0900 Subject: [PATCH] Add exit popup Change-Id: Ifb10e75077ac5651bb38eb9c8bb93e42a13ef706 --- .../Utils/AppControlUtils.cs | 7 +- LibTVRefCommonPortable/Utils/IAppControl.cs | 21 ++- .../Renderer/CustomButtonRenderer.cs | 3 - TVApps/TVApps/Controls/AppItemCell.xaml | 136 +++++++++--------- TVApps/TVApps/Controls/AppItemCell.xaml.cs | 1 - TVApps/TVApps/Controls/AppListView.xaml | 42 +++--- TVApps/TVApps/Controls/AppListView.xaml.cs | 14 ++ TVApps/TVApps/ViewModels/AppsHolder.cs | 3 - TVApps/TVApps/Views/MainPage.xaml.cs | 38 +++++ .../bin/Debug/TVHome.TizenTV.tpk | Bin 1580471 -> 1581753 bytes 10 files changed, 158 insertions(+), 107 deletions(-) diff --git a/LibTVRefCommonPortable/Utils/AppControlUtils.cs b/LibTVRefCommonPortable/Utils/AppControlUtils.cs index 304262f..0021379 100644 --- a/LibTVRefCommonPortable/Utils/AppControlUtils.cs +++ b/LibTVRefCommonPortable/Utils/AppControlUtils.cs @@ -14,12 +14,7 @@ * limitations under the License. */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - +using LibTVRefCommonPortable.Utils; using Xamarin.Forms; namespace LibTVRefCommmonPortable.Utils diff --git a/LibTVRefCommonPortable/Utils/IAppControl.cs b/LibTVRefCommonPortable/Utils/IAppControl.cs index d1b53ba..8ea2ad0 100644 --- a/LibTVRefCommonPortable/Utils/IAppControl.cs +++ b/LibTVRefCommonPortable/Utils/IAppControl.cs @@ -1,8 +1,19 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + namespace LibTVRefCommmonPortable.Utils { diff --git a/TVApps/TVApps.TizenTV/Renderer/CustomButtonRenderer.cs b/TVApps/TVApps.TizenTV/Renderer/CustomButtonRenderer.cs index 60c87fa..dd918bd 100644 --- a/TVApps/TVApps.TizenTV/Renderer/CustomButtonRenderer.cs +++ b/TVApps/TVApps.TizenTV/Renderer/CustomButtonRenderer.cs @@ -28,7 +28,6 @@ namespace TVApps.TizenTV.Renderer { protected override void OnElementChanged(ElementChangedEventArgs args) { - DebuggingPort.D("OnElementChanged"); base.OnElementChanged(args); if (Control == null || @@ -44,8 +43,6 @@ namespace TVApps.TizenTV.Renderer Control.Pressed += KeyDown; Control.Released += KeyUp; - - DebuggingPort.D("OnElementChanged - REGISTERED"); } private void KeyUp(object sender, EventArgs e) diff --git a/TVApps/TVApps/Controls/AppItemCell.xaml b/TVApps/TVApps/Controls/AppItemCell.xaml index 84e12d8..4e7f764 100755 --- a/TVApps/TVApps/Controls/AppItemCell.xaml +++ b/TVApps/TVApps/Controls/AppItemCell.xaml @@ -2,74 +2,74 @@ - - - - + + + + + + + + + + + + + + + + + 0 + 10 + +