From: Sameer Kumar Date: Thu, 15 Feb 2024 11:17:59 +0000 (+0530) Subject: Resolve DT Wi-fi network info wrong look of proxy adresss X-Git-Tag: accepted/tizen/unified/20240227.173432~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b07ad23d45c2b7ebb897aefb1af9b40735b12fc;p=profile%2Fiot%2Fapps%2Fdotnet%2Fsetting-wifi.git Resolve DT Wi-fi network info wrong look of proxy adresss and proxy port input, wrong look of forget button issue This patch: - Resolve https://jira.sec.samsung.net/browse/TNINE-407 Change-Id: Ie209d302678eab14cf9f5dde792cbccce817c1f7 Signed-off-by: Sameer Kumar --- diff --git a/SettingWiFi/SettingWiFi/view/InfoItem.cs b/SettingWiFi/SettingWiFi/view/InfoItem.cs index 7d54696..59faa61 100644 --- a/SettingWiFi/SettingWiFi/view/InfoItem.cs +++ b/SettingWiFi/SettingWiFi/view/InfoItem.cs @@ -76,7 +76,7 @@ namespace SettingWiFi { WidthSpecification = LayoutParamPolicies.MatchParent, HeightSpecification = 48, - BackgroundColor = Color.White, + BackgroundColor = new Color(ThemeManager.PlatformThemeId == "org.tizen.default-light-theme" ? Color.White : new Color("#1D1A21")), PlaceholderText = curvalue, Padding = new Extents(16, 16, 0, 0).SpToPx(), }; diff --git a/SettingWiFi/SettingWiFi/view/InfoPage.cs b/SettingWiFi/SettingWiFi/view/InfoPage.cs index d515d4a..48325dd 100755 --- a/SettingWiFi/SettingWiFi/view/InfoPage.cs +++ b/SettingWiFi/SettingWiFi/view/InfoPage.cs @@ -59,20 +59,6 @@ namespace SettingWiFi AddHeader(); AddInfo(); - var forgetButton = new Button() - { - Text = Resources.IDS_WIFI_SK_FORGET, - WidthSpecification = 252, - HeightSpecification = 48, - BackgroundColor = Color.White, - TextColor = new Color("#FF6200"), - BorderlineColor = new Color("#FF6200"), - BorderlineWidth = 2, - }; - - forgetButton.Clicked += OnForgetClicked; - mInfoView.Add(forgetButton); - AppBar = CreateAppBar(); Content = mInfoView; } @@ -88,6 +74,14 @@ namespace SettingWiFi backButton.Clicked += OnBackClicked; appBar.NavigationContent = backButton; + Button mForgetButton = new Button() + { + Text = Resources.IDS_WIFI_SK_FORGET, + }; + mForgetButton.Clicked += OnForgetClicked; + mForgetButton.TextColor = new Color(ThemeManager.PlatformThemeId == "org.tizen.default-light-theme" ? "#FF6200" : "#FF8A00"); + mForgetButton.BackgroundColor = new Color(ThemeManager.PlatformThemeId == "org.tizen.default-light-theme" ? new Color("#FAFAFA") : Color.Black); + appBar.Add(mForgetButton); return appBar; } diff --git a/packaging/org.tizen.cssetting-wifi-1.1.5.rpk b/packaging/org.tizen.cssetting-wifi-1.1.5.rpk index c2e369b..0dc04f6 100644 Binary files a/packaging/org.tizen.cssetting-wifi-1.1.5.rpk and b/packaging/org.tizen.cssetting-wifi-1.1.5.rpk differ