diff options
author | Ernest Borowski <e.borowski@samsung.com> | 2022-10-26 13:23:03 +0200 |
---|---|---|
committer | Ernest Borowski <e.borowski@samsung.com> | 2022-10-26 15:01:39 +0200 |
commit | 09a9b1ae0d5b2c45ed1090db31631a5098ad9c99 (patch) | |
tree | 0f716d9df607998ce2411f871bb8951f19163a28 | |
parent | 1ca780c7f616ffa9fb8961d62b754c67a080163c (diff) | |
download | setting-certificates-09a9b1ae0d5b2c45ed1090db31631a5098ad9c99.tar.gz setting-certificates-09a9b1ae0d5b2c45ed1090db31631a5098ad9c99.tar.bz2 setting-certificates-09a9b1ae0d5b2c45ed1090db31631a5098ad9c99.zip |
Improve colors in widget && rm unused icons.tizen_9.0_m2_releasetizen_8.0_m2_releaseaccepted/tizen/unified/20221102.020512accepted/tizen/9.0/unified/20241030.231550accepted/tizen/8.0/unified/20231005.095755tizen_9.0tizen_8.0tizenaccepted/tizen_unifiedaccepted/tizen_9.0_unifiedaccepted/tizen_8.0_unified
1. Set window background color to transparent so it will have "round
corners".
2. Remove ambient background color definitions, now whole widget
background will be white.
3. Remove unused icons.
Change-Id: Ie6429c3a8a5bb80e5243d1df881377b254c33a2a
Signed-off-by: Ernest Borowski <e.borowski@samsung.com>
42 files changed, 1 insertions, 31 deletions
diff --git a/SettingCertificates/SettingCertificates/WidgetSettingCertificates.cs b/SettingCertificates/SettingCertificates/WidgetSettingCertificates.cs index 1247dcd..9b30bff 100644 --- a/SettingCertificates/SettingCertificates/WidgetSettingCertificates.cs +++ b/SettingCertificates/SettingCertificates/WidgetSettingCertificates.cs @@ -44,13 +44,7 @@ namespace SettingCertificates { Bundle bundle = Bundle.Decode(contentInfo); CreateCertList(); - _rootView = new View(); - _rootView.BackgroundColor = Color.White; - _rootView.Size2D = window.Size; - _rootView.PivotPoint = PivotPoint.Center; - _rootView.WidthSpecification = LayoutParamPolicies.MatchParent; - _rootView.HeightSpecification = LayoutParamPolicies.MatchParent; - window.GetDefaultLayer().Add(_rootView); + window.BackgroundColor = Color.Transparent; _navigator = window.GetDefaultNavigator(); _navigator.Push(CreateFirstPage()); } @@ -66,7 +60,6 @@ namespace SettingCertificates Text = Resources.IDS_ST_BODY_TRUSTED_ROOT_CA_CERTIFICATES_ABB/*"Trusted root CA certificates"*/, IsSelectable = false, Margin = new Extents(20, 20, 1, 1), - BackgroundColor = Color.White, CornerRadius = new Vector4(10, 10, 10, 10) }; @@ -82,7 +75,6 @@ namespace SettingCertificates Text = Resources.IDS_ST_BODY_USER_CERTIFICATES/*"User certificates"*/, IsSelectable = false, Margin = new Extents(20, 20, 1, 1), - BackgroundColor = Color.White, CornerRadius = new Vector4(10, 10, 10, 10) }; @@ -111,7 +103,6 @@ namespace SettingCertificates private ContentPage CreateSecondPage(string title, List<certificateMetadata> certificates) { ScrollableBase content = CreateScrollableBase(); - content.BackgroundColor = new Color("#EFEFEF"); if (certificates == null || certificates.Count == 0) { var item = new DefaultLinearItem() @@ -120,7 +111,6 @@ namespace SettingCertificates Text = Resources.IDS_ST_TPOP_NO_CERTIFICATE_FOUND_DETAIL, IsSelectable = false, Margin = new Extents(20, 20, 1, 1), - BackgroundColor = Color.White, CornerRadius = new Vector4(10, 10, 10, 10), CellHorizontalAlignment = HorizontalAlignmentType.Center, CellVerticalAlignment = VerticalAlignmentType.Center, @@ -138,7 +128,6 @@ namespace SettingCertificates Text = cert.title, IsSelectable = false, Margin = new Extents(20, 20, 1, 1), - BackgroundColor = Color.White, CornerRadius = new Vector4(10, 10, 10, 10) }; @@ -154,7 +143,6 @@ namespace SettingCertificates { cert.GetMetadata(); ScrollableBase content = CreateScrollableBase(); - content.BackgroundColor = new Color("#EFEFEF"); const float fieldTitleFontScale = 1.2F; const float titleFontScale = 1.1F; PropertyMap titleFontStyle = new PropertyMap(); @@ -165,7 +153,6 @@ namespace SettingCertificates WidthSpecification = LayoutParamPolicies.MatchParent, Text = " " + "Use certificate", // NOT defined in Resources... IsSelectable = false, - BackgroundColor = Color.White, Margin = new Extents(20, 20, 1, 0), CornerRadius = new Vector4(10, 10, 10, 10) }; @@ -186,14 +173,12 @@ namespace SettingCertificates { Text = " " + cert.GetFieldTitle(field), FontSizeScale = fieldTitleFontScale, - BackgroundColor = Color.White, Margin = new Extents(20, 20, 1, 0), WidthSpecification = LayoutParamPolicies.MatchParent, }; TextLabel fieldValue = new TextLabel() { Text = " " + cert.GetField(field), - BackgroundColor = Color.White, Margin = new Extents(20, 20, 1, 0), WidthSpecification = LayoutParamPolicies.MatchParent, FontStyle = titleFontStyle, @@ -217,14 +202,12 @@ namespace SettingCertificates { Text = " " + cert.GetFieldTitle(field), FontSizeScale = fieldTitleFontScale, - BackgroundColor = Color.White, Margin = new Extents(20, 20, 1, 0), WidthSpecification = LayoutParamPolicies.MatchParent, }; TextLabel fieldValue = new TextLabel() { Text = " " + cert.GetField(field), - BackgroundColor = Color.White, Margin = new Extents(20, 20, 1, 0), WidthSpecification = LayoutParamPolicies.MatchParent, FontStyle = titleFontStyle, @@ -248,14 +231,12 @@ namespace SettingCertificates { Text = " " + cert.GetFieldTitle(field), FontSizeScale = fieldTitleFontScale, - BackgroundColor = Color.White, Margin = new Extents(20, 20, 1, 0), WidthSpecification = LayoutParamPolicies.MatchParent, }; TextLabel fieldValue = new TextLabel() { Text = " " + cert.GetField(field), - BackgroundColor = Color.White, Margin = new Extents(20, 20, 1, 0), WidthSpecification = LayoutParamPolicies.MatchParent, FontStyle = titleFontStyle, @@ -268,14 +249,12 @@ namespace SettingCertificates { Text = " " + Resources.IDS_ST_BODY_VALID_FROM_C/*"Valid from:"*/, FontSizeScale = fieldTitleFontScale, - BackgroundColor = Color.White, Margin = new Extents(20, 20, 1, 0), WidthSpecification = LayoutParamPolicies.MatchParent, }; TextLabel fieldValue = new TextLabel() { Text = " " + cert.before.ToString("U"), - BackgroundColor = Color.White, Margin = new Extents(20, 20, 1, 0), WidthSpecification = LayoutParamPolicies.MatchParent, FontStyle = titleFontStyle, @@ -288,14 +267,12 @@ namespace SettingCertificates { Text = " " + Resources.IDS_ST_BODY_VALID_TO_C/*"Valid to:"*/, FontSizeScale = fieldTitleFontScale, - BackgroundColor = Color.White, Margin = new Extents(20, 20, 1, 0), WidthSpecification = LayoutParamPolicies.MatchParent, }; TextLabel fieldValue = new TextLabel() { Text = " " + cert.after.ToString("U"), - BackgroundColor = Color.White, Margin = new Extents(20, 20, 1, 0), WidthSpecification = LayoutParamPolicies.MatchParent, FontStyle = titleFontStyle, @@ -310,14 +287,12 @@ namespace SettingCertificates { Text = " " + cert.GetFieldTitle(field), FontSizeScale = fieldTitleFontScale, - BackgroundColor = Color.White, Margin = new Extents(20, 20, 1, 0), WidthSpecification = LayoutParamPolicies.MatchParent, }; TextLabel fieldValue = new TextLabel() { Text = " " + cert.GetField(field), - BackgroundColor = Color.White, Margin = new Extents(20, 20, 1, 0), WidthSpecification = LayoutParamPolicies.MatchParent, FontStyle = titleFontStyle, @@ -335,14 +310,12 @@ namespace SettingCertificates { Text = " " + Resources.IDS_ST_BODY_CERTIFICATION_AUTHORITY_C/*"Certification authority:"*/, FontSizeScale = fieldTitleFontScale, - BackgroundColor = Color.White, Margin = new Extents(20, 20, 1, 0), WidthSpecification = LayoutParamPolicies.MatchParent, }; TextLabel fieldValue = new TextLabel() { Text = " " + txt, - BackgroundColor = Color.White, Margin = new Extents(20, 20, 1, 0), WidthSpecification = LayoutParamPolicies.MatchParent, FontStyle = titleFontStyle, @@ -355,7 +328,6 @@ namespace SettingCertificates { Text = " " + cert.GetFieldTitle(CertificateField.CERTSVC_KEY), FontSizeScale = fieldTitleFontScale, - BackgroundColor = Color.White, Margin = new Extents(20, 20, 1, 0), WidthSpecification = LayoutParamPolicies.MatchParent, }; @@ -363,7 +335,6 @@ namespace SettingCertificates { MultiLine = true, Text = cert.GetField(CertificateField.CERTSVC_KEY).Replace(" ", " "), - BackgroundColor = Color.White, Margin = new Extents(20, 20, 1, 0), WidthSpecification = LayoutParamPolicies.MatchParent, FontStyle = titleFontStyle, @@ -444,7 +415,6 @@ namespace SettingCertificates Title = title, }, Content = content, - BackgroundColor = new Color("#EFEFEF"), WidthSpecification = LayoutParamPolicies.MatchParent, HeightSpecification= LayoutParamPolicies.MatchParent, }; diff --git a/SettingCertificates/SettingCertificates/res/list_icon/sett_legal_infot_active_Default.png b/SettingCertificates/SettingCertificates/res/list_icon/sett_legal_infot_active_Default.png Binary files differdeleted file mode 100644 index 488ac98..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/sett_legal_infot_active_Default.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/sett_manage_cert_active_Default.png b/SettingCertificates/SettingCertificates/res/list_icon/sett_manage_cert_active_Default.png Binary files differdeleted file mode 100644 index 50c2522..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/sett_manage_cert_active_Default.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_about_device.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_about_device.png Binary files differdeleted file mode 100644 index 2594471..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_about_device.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_accessibility.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_accessibility.png Binary files differdeleted file mode 100644 index 3277486..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_accessibility.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_account.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_account.png Binary files differdeleted file mode 100644 index eb89d74..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_account.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_applications.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_applications.png Binary files differdeleted file mode 100644 index 0e1ed64..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_applications.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_backup_and_reset.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_backup_and_reset.png Binary files differdeleted file mode 100644 index 6b1787d..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_backup_and_reset.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_battery.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_battery.png Binary files differdeleted file mode 100644 index d06f9e3..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_battery.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_bluetooth.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_bluetooth.png Binary files differdeleted file mode 100644 index f622066..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_bluetooth.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_call_setting.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_call_setting.png Binary files differdeleted file mode 100644 index a20725a..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_call_setting.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_convergence.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_convergence.png Binary files differdeleted file mode 100644 index 041fdad..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_convergence.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_data_usage.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_data_usage.png Binary files differdeleted file mode 100644 index ec48f3d..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_data_usage.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_date_and_time.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_date_and_time.png Binary files differdeleted file mode 100644 index 7d4a009..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_date_and_time.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_decoration.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_decoration.png Binary files differdeleted file mode 100644 index d47f6e6..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_decoration.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_developer.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_developer.png Binary files differdeleted file mode 100644 index 53cc3d0..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_developer.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_display.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_display.png Binary files differdeleted file mode 100644 index 91689fe..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_display.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_flight.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_flight.png Binary files differdeleted file mode 100644 index fbabae7..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_flight.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_ic_delete.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_ic_delete.png Binary files differdeleted file mode 100644 index 2473e1d..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_ic_delete.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_ic_location.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_ic_location.png Binary files differdeleted file mode 100644 index 3decb98..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_ic_location.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_language_and_input.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_language_and_input.png Binary files differdeleted file mode 100644 index 5422108..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_language_and_input.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_list_developer.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_list_developer.png Binary files differdeleted file mode 100644 index 9844e79..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_list_developer.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_lock_screen_and_security.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_lock_screen_and_security.png Binary files differdeleted file mode 100644 index 45b8949..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_lock_screen_and_security.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_lockscreen.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_lockscreen.png Binary files differdeleted file mode 100644 index ad5e44b..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_lockscreen.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_mobile_networks.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_mobile_networks.png Binary files differdeleted file mode 100644 index 460697d..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_mobile_networks.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_more_connections.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_more_connections.png Binary files differdeleted file mode 100644 index 65d2261..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_more_connections.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_nfc_and_payment.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_nfc_and_payment.png Binary files differdeleted file mode 100644 index 47e1433..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_nfc_and_payment.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_notifications.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_notifications.png Binary files differdeleted file mode 100644 index 3d36e4d..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_notifications.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_privacy_and_safety.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_privacy_and_safety.png Binary files differdeleted file mode 100644 index bb7b5cd..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_privacy_and_safety.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_reset.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_reset.png Binary files differdeleted file mode 100644 index 24af16d..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_reset.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_security.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_security.png Binary files differdeleted file mode 100644 index 6ab8084..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_security.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_sim_card_magager.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_sim_card_magager.png Binary files differdeleted file mode 100644 index 17d9ad8..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_sim_card_magager.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_softkey.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_softkey.png Binary files differdeleted file mode 100644 index e94eeb0..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_softkey.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_sound_and_notifications.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_sound_and_notifications.png Binary files differdeleted file mode 100644 index b13edf8..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_sound_and_notifications.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_special_days.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_special_days.png Binary files differdeleted file mode 100644 index b3eef31..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_special_days.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_storage.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_storage.png Binary files differdeleted file mode 100644 index d857429..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_storage.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_tethering.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_tethering.png Binary files differdeleted file mode 100644 index d51feb7..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_tethering.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_ultra_data_saving_mode.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_ultra_data_saving_mode.png Binary files differdeleted file mode 100644 index b09ba6d..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_ultra_data_saving_mode.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_wallpapers.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_wallpapers.png Binary files differdeleted file mode 100644 index fd7fec9..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_wallpapers.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_wifi.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_wifi.png Binary files differdeleted file mode 100644 index 72b63f0..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_wifi.png +++ /dev/null diff --git a/SettingCertificates/SettingCertificates/res/list_icon/settings_wifi_direct.png b/SettingCertificates/SettingCertificates/res/list_icon/settings_wifi_direct.png Binary files differdeleted file mode 100644 index 307c049..0000000 --- a/SettingCertificates/SettingCertificates/res/list_icon/settings_wifi_direct.png +++ /dev/null diff --git a/packaging/org.tizen.cssetting-certificates-1.0.0.tpk b/packaging/org.tizen.cssetting-certificates-1.0.0.tpk Binary files differindex 926042d..c0d9454 100644 --- a/packaging/org.tizen.cssetting-certificates-1.0.0.tpk +++ b/packaging/org.tizen.cssetting-certificates-1.0.0.tpk |