From: Anuj Kumar Singh Date: Fri, 6 Oct 2023 06:08:44 +0000 (+0530) Subject: Resolve Wrong color of input in details X-Git-Tag: accepted/tizen/8.0/unified/20231011.152829~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a53ffc46370bd59784ce4261f32a48c94632c7b2;p=profile%2Fiot%2Fapps%2Fdotnet%2Fsetting-bluetooth.git Resolve Wrong color of input in details This Patch: - Resolves https://code.sec.samsung.net/jira/browse/TEIGHT-5371 Change-Id: If23344d0f5a9a7a34d09f9f185f5d45bc5d0a838 Signed-off-by: Anuj Kumar Singh --- diff --git a/SettingBluetooth/SettingBluetooth/View/BtDetailView.cs b/SettingBluetooth/SettingBluetooth/View/BtDetailView.cs index 104b173..38a8ee7 100644 --- a/SettingBluetooth/SettingBluetooth/View/BtDetailView.cs +++ b/SettingBluetooth/SettingBluetooth/View/BtDetailView.cs @@ -16,6 +16,7 @@ namespace SettingBluetooth private static ScrollableBase mScrollableInfo; private static TextField mDeviceNameField; private static readonly Color underlineColor = new Color("#FF6200"); + private static bool isLightTheme => ThemeManager.PlatformThemeId == "org.tizen.default-light-theme"; internal static void CreateDetailView(Device device) { @@ -122,7 +123,7 @@ namespace SettingBluetooth { WidthSpecification = LayoutParamPolicies.MatchParent, HeightSpecification = 48, - BackgroundColor = Color.White, + BackgroundColor = isLightTheme ? new Color("#FAFAFA") : new Color("#1D1A21"), Text = deviceName, TextColor = Color.Grey, Margin = new Extents(24, 0, 0, 0).SpToPx(), diff --git a/packaging/org.tizen.cssetting-bluetooth-1.0.0.rpk b/packaging/org.tizen.cssetting-bluetooth-1.0.0.rpk index ea9e03e..2704a16 100644 Binary files a/packaging/org.tizen.cssetting-bluetooth-1.0.0.rpk and b/packaging/org.tizen.cssetting-bluetooth-1.0.0.rpk differ