Resolve Wrong color of input in details 86/299686/1
authorAnuj Kumar Singh <anujk.singh@samsung.com>
Fri, 6 Oct 2023 06:08:44 +0000 (11:38 +0530)
committerAnuj Kumar Singh <anujk.singh@samsung.com>
Fri, 6 Oct 2023 08:16:09 +0000 (13:46 +0530)
This Patch:
 - Resolves https://code.sec.samsung.net/jira/browse/TEIGHT-5371

Change-Id: If23344d0f5a9a7a34d09f9f185f5d45bc5d0a838
Signed-off-by: Anuj Kumar Singh <anujk.singh@samsung.com>
SettingBluetooth/SettingBluetooth/View/BtDetailView.cs
packaging/org.tizen.cssetting-bluetooth-1.0.0.rpk

index 104b1735bd939833257776e1efc532c8054a204a..38a8ee7799b25b6dce1413d1c9d9c6497119c2fe 100644 (file)
@@ -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(),
index ea9e03e97a3e76a35d4939cd8f950e544b99f73c..2704a16c369a0fc9a8fcbbd6583c44963acc613f 100644 (file)
Binary files a/packaging/org.tizen.cssetting-bluetooth-1.0.0.rpk and b/packaging/org.tizen.cssetting-bluetooth-1.0.0.rpk differ