2 * Copyright(c) 2022 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 using System.Diagnostics.CodeAnalysis;
20 using Tizen.NUI.BaseComponents;
22 namespace Tizen.NUI.Components
24 // It is a C# version of res/Tizen.NUI.Components_Tizen.NUI.Theme.Common.xaml
25 internal partial class DefaultThemeCreator : IThemeCreator
28 /// The base theme description.
30 [SuppressMessage("Microsoft.Reliability", "CA2000: Dispose objects before losing scope", Justification = "The responsibility to dispose the object is transferred to the theme object.")]
33 var theme = new Theme()
35 Id = Tizen.NUI.DefaultThemeCreator.DefaultId,
36 Version = Tizen.NUI.DefaultThemeCreator.DefaultVersion
40 theme.AddStyleWithoutClone("Tizen.NUI.Components.Button", new ButtonStyle()
42 Size = new Size(339, 96),
44 ItemHorizontalAlignment = HorizontalAlignment.Center,
45 ItemVerticalAlignment = VerticalAlignment.Center,
46 BackgroundColor = new Selector<Color>()
48 Normal = new Color(1.0f, 0.384f, 0.0f, 1),
49 Pressed = new Color(0.85f, 0.325f, 0.0f, 1),
50 Focused = new Color(1.0f, 0.827f, 0.624f, 1),
51 Selected = new Color(0.624f, 0.239f, 0.0f, 1),
52 Disabled = new Color(0.792f, 0.792f, 0.792f, 1),
54 Text = new TextLabelStyle()
56 TextColor = Color.White,
61 // CheckBox base style
62 theme.AddStyleWithoutClone("Tizen.NUI.Components.CheckBox", new ButtonStyle()
64 ItemSpacing = new Size2D(32, 32),
65 ItemHorizontalAlignment = HorizontalAlignment.Begin,
66 ItemVerticalAlignment = VerticalAlignment.Center,
67 Icon = new ImageViewStyle()
69 Size = new Size(36, 36),
70 ResourceUrl = new Selector<string>()
72 Normal = FrameworkInformation.ResourcePath + "IoT_check_off.png",
73 Pressed = FrameworkInformation.ResourcePath + "IoT_check_off_p.png",
74 Disabled = FrameworkInformation.ResourcePath + "IoT_check_off_d.png",
75 Focused = FrameworkInformation.ResourcePath + "IoT_check_off_f.png",
76 Selected = FrameworkInformation.ResourcePath + "IoT_check_on.png",
77 SelectedPressed = FrameworkInformation.ResourcePath + "IoT_check_on_p.png",
78 SelectedFocused = FrameworkInformation.ResourcePath + "IoT_check_on_f.png",
79 DisabledSelected = FrameworkInformation.ResourcePath + "IoT_check_on_d.png",
82 Text = new TextLabelStyle()
84 TextColor = new Color("#001447"),
90 theme.AddStyleWithoutClone("Tizen.NUI.Components.Popup", new PopupStyle()
92 Size = new Size(500, 280),
93 BackgroundColor = new Color(0.9f, 0.9f, 0.9f, 1),
94 ImageShadow = new ImageShadow()
96 Url = FrameworkInformation.ResourcePath + "nui_component_default_popup_shadow.png",
97 Border = new Rectangle(24, 24, 24, 24),
98 Extents = new Vector2(48, 48)
100 Title = new TextLabelStyle()
103 Padding = new Extents(20, 20, 20, 20),
105 Buttons = new ButtonStyle()
107 Size = new Size(0, 80),
109 BackgroundColor = new Selector<Color>()
111 Normal = new Color(1, 1, 1, 1),
112 Pressed = new Color(1, 1, 1, 0.5f),
114 Overlay = new ImageViewStyle()
116 BackgroundColor = new Selector<Color>()
118 Pressed = new Color(0, 0, 0, 0.1f),
119 Other = new Color(1, 1, 1, 0.1f),
122 Text = new TextLabelStyle()
124 TextColor = new Color(0.05f, 0.63f, 0.9f, 1),
129 // Progress base style
130 theme.AddStyleWithoutClone("Tizen.NUI.Components.Progress", new ProgressStyle()
132 Size = new Size(508, 16),
133 Track = new ImageViewStyle()
136 BackgroundColor = new Selector<Color>()
138 Normal = new Color(0.82f, 0.31f, 0.0f, 0.1f),
139 Disabled = new Color(0.82f, 0.31f, 0.0f, 0.1f),
142 Buffer = new ImageViewStyle()
145 BackgroundColor = new Color(0.82f, 0.31f, 0.0f, 0.1f),
147 Progress = new ImageViewStyle()
150 BackgroundColor = new Color("#D25000"),
152 IndeterminateImageUrl = FrameworkInformation.ResourcePath + "IoT_progress_indeterminate.png",
155 // RadioButton base style
156 theme.AddStyleWithoutClone("Tizen.NUI.Components.RadioButton", new ButtonStyle()
158 ItemSpacing = new Size2D(32, 32),
159 ItemHorizontalAlignment = HorizontalAlignment.Begin,
160 ItemVerticalAlignment = VerticalAlignment.Center,
161 Icon = new ImageViewStyle()
163 Size = new Size(36, 36),
164 ResourceUrl = new Selector<string>()
166 Normal = FrameworkInformation.ResourcePath + "IoT_radiobutton_off.png",
167 Pressed = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_p.png",
168 Disabled = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_d.png",
169 Focused = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_f.png",
170 Selected = FrameworkInformation.ResourcePath + "IoT_radiobutton_on.png",
171 SelectedPressed = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_p.png",
172 SelectedFocused = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_f.png",
173 DisabledSelected = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_d.png",
176 Text = new TextLabelStyle()
178 TextColor = new Color("#001447"),
184 theme.AddStyleWithoutClone("Tizen.NUI.Components.Slider", new SliderStyle()
186 Size = new Size(850, 50),
188 Track = new ImageViewStyle()
190 Size = new Size(800, 8),
192 BackgroundColor = new Selector<Color>()
194 Normal = new Color(1.0f, 0.37f, 0.0f, 0.1f),
195 Disabled = new Color(1.0f, 0.37f, 0.0f, 0.1f),
198 Progress = new ImageViewStyle()
200 Size = new Size(800, 8),
202 BackgroundColor = new Selector<Color>()
204 Normal = new Color("#FF6200"),
205 Disabled = new Color("#CACACA"),
208 Thumb = new ImageViewStyle()
210 Size = new Size(40, 40),
211 ResourceUrl = new Selector<string>()
213 Normal = FrameworkInformation.ResourcePath + "IoT_slider_handler_normal.png",
214 Pressed = FrameworkInformation.ResourcePath + "IoT_slider_handler_pressed.png",
215 Focused = FrameworkInformation.ResourcePath + "IoT_slider_handler_pressed.png",
216 Disabled = FrameworkInformation.ResourcePath + "IoT_slider_handler_disabled.png",
219 ValueIndicatorImage = new ImageViewStyle()
221 Size = new Size(16, 24),
222 BorderlineWidth = 0.5f,
223 BorderlineColor = new Color("#FF6200"),
224 BackgroundColor = new Color(0.0f, 0.04f, 0.16f, 1.0f),
229 theme.AddStyleWithoutClone("Tizen.NUI.Components.Switch", new SwitchStyle()
231 ItemSpacing = new Size2D(32, 32),
232 ItemHorizontalAlignment = HorizontalAlignment.Begin,
233 ItemVerticalAlignment = VerticalAlignment.Center,
234 Track = new ImageViewStyle()
236 Size = new Size(84, 44),
237 ResourceUrl = new Selector<string>()
239 Normal = FrameworkInformation.ResourcePath + "IoT_switch_track_off.png",
240 Pressed = FrameworkInformation.ResourcePath + "IoT_switch_track_off_p.png",
241 Disabled = FrameworkInformation.ResourcePath + "IoT_switch_track_off_d.png",
242 Focused = FrameworkInformation.ResourcePath + "IoT_switch_track_off_f.png",
243 Selected = FrameworkInformation.ResourcePath + "IoT_switch_track_on.png",
244 SelectedPressed = FrameworkInformation.ResourcePath + "IoT_switch_track_on_p.png",
245 SelectedFocused = FrameworkInformation.ResourcePath + "IoT_switch_track_on_f.png",
246 DisabledSelected = FrameworkInformation.ResourcePath + "IoT_switch_track_on_d.png",
249 Thumb = new ImageViewStyle()
251 Size = new Size(44, 44),
252 ResourceUrl = new Selector<string>()
254 Normal = FrameworkInformation.ResourcePath + "IoT_switch_thumb.png",
255 Disabled = FrameworkInformation.ResourcePath + "IoT_switch_thumb_d.png",
256 Selected = FrameworkInformation.ResourcePath + "IoT_switch_thumb_s.png",
257 SelectedPressed = FrameworkInformation.ResourcePath + "IoT_switch_thumb_sp.png",
258 SelectedFocused = FrameworkInformation.ResourcePath + "IoT_switch_thumb_sf.png",
261 Text = new TextLabelStyle()
263 TextColor = new Color("#001447"),
268 // Loading base style
269 theme.AddStyleWithoutClone("Tizen.NUI.Components.Loading", new LoadingStyle()
271 LoadingSize = new Size(200, 200),
274 // Pagination base style
275 theme.AddStyleWithoutClone("Tizen.NUI.Components.Pagination", new PaginationStyle()
277 IndicatorImageUrl = new Selector<string>()
279 Normal = FrameworkInformation.ResourcePath + "nui_component_default_pagination_normal_dot.png",
280 Selected = FrameworkInformation.ResourcePath + "nui_component_default_pagination_focus_dot.png",
282 IndicatorSize = new Size(10, 10),
285 // Scrollbar base style
286 theme.AddStyleWithoutClone("Tizen.NUI.Components.Scrollbar", new ScrollbarStyle()
290 TrackColor = new Color(0f, 0f, 0f, 0f),
291 ThumbColor = new Color("#0A0E4A"),
293 ThumbVerticalImageUrl = FrameworkInformation.ResourcePath + "nui_component_default_scroll_vbar.#.png",
294 ThumbHorizontalImageUrl = FrameworkInformation.ResourcePath + "nui_component_default_scroll_hbar.#.png",
297 // LinearLayouter base style
298 theme.AddStyleWithoutClone("Tizen.NUI.Components.LinearLayouter", new ViewStyle()
300 Padding = new Extents(64, 64, 0, 0)
303 // GridLayouter base style
304 theme.AddStyleWithoutClone("Tizen.NUI.Components.GridLayouter", new ViewStyle()
306 Padding = new Extents(0, 0, 0, 0),
309 // ItemsLayouter base style
310 theme.AddStyleWithoutClone("Tizen.NUI.Components.ItemsLayouter", new ViewStyle()
312 Padding = new Extents(0, 0, 0, 0),
315 // RecyclerViewItem base style
316 theme.AddStyleWithoutClone("Tizen.NUI.Components.RecyclerViewItem", new RecyclerViewItemStyle()
318 BackgroundColor = new Selector<Color>()
320 Normal = new Color(1, 1, 1, 1),
321 Pressed = new Color(0.85f, 0.85f, 0.85f, 1),
322 Disabled = new Color(0.70f, 0.70f, 0.70f, 1),
323 Selected = new Color(0.701f, 0.898f, 0.937f, 1),
327 // DefaultLinearItem base style
328 theme.AddStyleWithoutClone("Tizen.NUI.Components.DefaultLinearItem", new DefaultLinearItemStyle()
331 Padding = new Extents(64, 64, 18, 17),
332 Margin = new Extents(0, 0, 0, 0),
333 BackgroundColor = new Selector<Color>()
335 Normal = new Color(1, 1, 1, 1),
336 Pressed = new Color(0.85f, 0.85f, 0.85f, 1),
337 Disabled = new Color(0.70f, 0.70f, 0.70f, 1),
338 Selected = new Color(0.85f, 0.85f, 0.85f, 1),
340 Label = new TextLabelStyle()
344 FontFamily = "BreezeSans", //FXIME Font Weight is Light
345 TextColor = new Color("#001447"),
346 ThemeChangeSensitive = false
348 SubLabel = new TextLabelStyle()
352 FontFamily = "BreezeSans",
353 TextColor = new Color("#001447"),
354 ThemeChangeSensitive = false
356 Icon = new ViewStyle()
358 Margin = new Extents(0, 32, 0, 0)
360 Extra = new ViewStyle()
362 Margin = new Extents(32, 0, 0, 0)
364 Seperator = new ViewStyle()
367 Margin = new Extents(64, 64, 0, 0),
368 BackgroundColor = new Color("#C3CAD2"),
372 // DefaultGridItem base style
373 theme.AddStyleWithoutClone("Tizen.NUI.Components.DefaultGridItem", new DefaultGridItemStyle()
375 Padding = new Extents(0, 0, 0, 0),
376 Margin = new Extents(5, 5, 5, 5),
377 Label = new TextLabelStyle()
381 LineWrapMode = LineWrapMode.Character,
382 ThemeChangeSensitive = false
384 Badge = new ViewStyle()
386 Margin = new Extents(5, 5, 5, 5),
390 // DefaultTitleItem base style
391 theme.AddStyleWithoutClone("Tizen.NUI.Components.DefaultTitleItem", new DefaultTitleItemStyle()
394 Padding = new Extents(64, 64, 12, 12),
395 Margin = new Extents(0, 0, 0, 0),
396 BackgroundColor = new Selector<Color>()
398 Normal = new Color("#EEEEF1"),
400 Label = new TextLabelStyle()
404 TextColor = new Color("#001447"),
405 ThemeChangeSensitive = false
407 Icon = new ViewStyle()
409 Margin = new Extents(40, 0, 0, 0)
411 Seperator = new ViewStyle()
413 Margin = new Extents(0, 0, 0, 0),
414 BackgroundColor = new Color(0, 0, 0, 0),
418 // ContentPage base style
419 theme.AddStyleWithoutClone("Tizen.NUI.Components.ContentPage", new ViewStyle()
421 BackgroundColor = new Color("#FAFAFA"),
422 CornerRadius = new Vector4(24.0f, 24.0f, 24.0f ,24.0f),
423 CornerRadiusPolicy = VisualTransformPolicyType.Absolute,
424 BoxShadow = new Shadow(8.0f, new Color(0.0f, 0.0f, 0.0f, 0.16f), new Vector2(0.0f, 2.0f)),
428 theme.AddStyleWithoutClone("Tizen.NUI.Components.AppBar", new AppBarStyle()
430 Size = new Size(-1, 64),
431 BackgroundColor = Color.Transparent,
432 BackButton = new ButtonStyle()
434 Size = new Size(48, 48),
436 BackgroundColor = Color.Transparent,
437 Icon = new ImageViewStyle()
439 Size = new Size(48, 48),
440 ResourceUrl = FrameworkInformation.ResourcePath + "nui_component_default_back_button.png",
441 Color = new Selector<Color>()
443 Normal = new Color("#17234D"),
444 Focused = new Color("#17234D"),
445 Pressed = new Color("#FF6200"),
446 Disabled = new Color("#CACACA"),
449 ThemeChangeSensitive = false
451 TitleTextLabel = new TextLabelStyle()
454 VerticalAlignment = VerticalAlignment.Center,
455 TextColor = new Selector<Color>()
457 Normal = new Color("#17234D"),
459 ThemeChangeSensitive = false
461 ActionView = new ViewStyle()
463 Size = new Size(48, 64),
465 BackgroundColor = Color.Transparent,
467 ActionButton = new ButtonStyle()
469 Size = new Size(-2, 64),
471 BackgroundColor = Color.Transparent,
472 Text = new TextLabelStyle()
475 TextColor = new Selector<Color>()
477 Normal = new Color("#FF6200"),
478 Focused = new Color("#FF6200"),
479 Pressed = new Color("#D95300"),
480 Disabled = new Color("#CACACA"),
483 Icon = new ImageViewStyle()
485 Size = new Size(48, 48),
486 Color = new Selector<Color>()
488 Normal = new Color("#17234D"),
489 Focused = new Color("#17234D"),
490 Pressed = new Color("#FF6200"),
491 Disabled = new Color("#CACACA"),
494 ThemeChangeSensitive = false,
496 Padding = new Extents(16, 16, 0, 0),
497 NavigationPadding = new Extents(0, 8, 0, 0),
498 ActionPadding = new Extents(16, 0, 0, 0),
499 ActionCellPadding = new Size2D(16, 0),
503 theme.AddStyleWithoutClone("Tizen.NUI.Components.Picker", new PickerStyle()
505 Size = new Size(160, 339),
506 ItemTextLabel = new TextLabelStyle()
508 //FIXME: Should be check PointSize. given size from UX is too large.
510 VerticalAlignment = VerticalAlignment.Center,
511 HorizontalAlignment = HorizontalAlignment.Center,
512 Size = new Size(0,72),
513 TextColor = new Selector<Color>()
515 Normal = new Color("#000C2B"),
517 BackgroundColor = Color.White,
519 Divider = new ViewStyle()
522 WidthResizePolicy = ResizePolicyType.FillToParent,
523 Position = new Position(0, 132),
524 BackgroundColor = new Color("#0A0E4A"),
526 StartScrollOffset = new Size(0, 12),
530 theme.AddStyleWithoutClone("Tizen.NUI.Components.TabBar", new ViewStyle()
532 Size = new Size(-1, -2),
533 Margin = new Extents(16, 16, 0, 0),
534 Padding = new Extents(14, 14, 0, 0),
535 CornerRadius = new Vector4(12.0f, 12.0f, 12.0f, 12.0f),
536 CornerRadiusPolicy = VisualTransformPolicyType.Absolute,
537 BoxShadow = new Shadow(8.0f, new Color(0.0f, 0.0f, 0.0f, 0.16f), new Vector2(0.0f, 2.0f)),
538 BackgroundColor = new Color("#FAFAFA"),
541 // TabButton base style
542 theme.AddStyleWithoutClone("Tizen.NUI.Components.TabButton", new TabButtonStyle()
544 Size = new Size(-1, 116),
545 SizeWithTextOnly = new Size(-1, 72),
546 SizeWithIconOnly = new Size(-1, 64),
547 MinimumSize = new Size(100, -1),
548 Padding = new Extents(24, 24, 18, 16),
549 PaddingWithTextOnly = new Extents(24, 24, 20, 20),
550 PaddingWithIconOnly = new Extents(24, 24, 16, 16),
551 ItemSpacing = new Size2D(0, 10),
553 IconSizeWithIconOnly = new Size(32, 32),
554 BackgroundColor = new Selector<Color>()
556 Normal = new Color("#FAFAFA"),
557 Selected = new Color("#FFE0CC"),
558 Pressed = new Color("#FFCAA8"),
559 Focused = new Color("#FAFAFA"),
560 Disabled = new Color("#FAFAFA"),
562 Text = new TextLabelStyle()
565 Size = new Size(-2, -2),
566 TextColor = new Selector<Color>()
568 Normal = new Color("#090E21"),
569 Selected = new Color("#FF6200"),
570 Pressed = new Color("#FF6200"),
571 Focused = new Color("#FF6200"),
572 Disabled = new Color("#CACACA"),
574 ThemeChangeSensitive = false,
576 Icon = new ImageViewStyle()
578 Size = new Size(48, 48),
579 Color = new Selector<Color>()
581 Normal = new Color("#090E21"),
582 Selected = new Color("#FF6200"),
583 Pressed = new Color("#FF6200"),
584 Focused = new Color("#FF6200"),
585 Disabled = new Color("#CACACA"),
590 // NotificationToast base style
591 theme.AddStyleWithoutClone("NotificationToast", new TextLabelStyle()
593 BackgroundColor = new Color("#FAFAFA"),
594 CornerRadius = 12.0f,
595 BoxShadow = new Shadow(8.0f, new Color(0.0f, 0.0f, 0.0f, 0.16f), new Vector2(0.0f, 2.0f)),
596 TextColor = new Color("#090E21"),
598 WidthResizePolicy = ResizePolicyType.UseNaturalSize,
599 HeightResizePolicy = ResizePolicyType.UseNaturalSize,
600 PositionUsesPivotPoint = true,
601 HorizontalAlignment = HorizontalAlignment.Center,
602 VerticalAlignment = VerticalAlignment.Center,
603 Padding = new Extents(16, 16, 16, 16),
607 // AlertDialog base style
608 theme.AddStyleWithoutClone("Tizen.NUI.Components.AlertDialog", new AlertDialogStyle()
610 Size = new Size(-2, -2),
611 Padding = new Extents(32, 32, 32, 32),
612 ItemSpacing = new Size2D(0, 32),
613 BackgroundColor = new Color("#FAFAFA"),
614 CornerRadius = 12.0f,
615 BoxShadow = new Shadow(8.0f, new Color(0.0f, 0.0f, 0.0f, 0.16f), new Vector2(0.0f, 2.0f)),
616 TitleTextLabel = new TextLabelStyle()
618 Size = new Size(626, -2),
620 HorizontalAlignment = HorizontalAlignment.Center,
621 VerticalAlignment = VerticalAlignment.Center,
622 TextColor = new Color("#090E21"),
623 ThemeChangeSensitive = false,
625 MessageTextLabel = new TextLabelStyle()
627 Size = new Size(626, -2),
630 HorizontalAlignment = HorizontalAlignment.Center,
631 VerticalAlignment = VerticalAlignment.Center,
632 TextColor = new Color("#090E21"),
633 ThemeChangeSensitive = false,
635 ActionContent = new ViewStyle()
637 Size = new Size(626, -2),
641 // TimePicker base style
642 theme.AddStyleWithoutClone("Tizen.NUI.Components.TimePicker", new TimePickerStyle()
644 CellPadding = new Size(50, 339),
646 Pickers = new PickerStyle()
648 Size = new Size(160, 339),
649 ItemTextLabel = new TextLabelStyle()
651 //FIXME: Should be check PointSize. given size from UX is too large.
653 VerticalAlignment = VerticalAlignment.Center,
654 HorizontalAlignment = HorizontalAlignment.Center,
655 Size = new Size(0,72),
656 TextColor = new Color("#000C2B"),
657 BackgroundColor = Color.White,
658 ThemeChangeSensitive = false
660 Divider = new ViewStyle()
663 WidthResizePolicy = ResizePolicyType.FillToParent,
664 Position = new Position(0, 132),
665 BackgroundColor = new Color("#0A0E4A"),
667 StartScrollOffset = new Size2D(0, 12),
671 // DatePicker base style
672 theme.AddStyleWithoutClone("Tizen.NUI.Components.DatePicker", new DatePickerStyle()
674 CellPadding = new Size(50, 339),
676 Pickers = new PickerStyle()
678 Size = new Size(160, 339),
679 ItemTextLabel = new TextLabelStyle()
681 //FIXME: Should be check PointSize. given size from UX is too large.
683 VerticalAlignment = VerticalAlignment.Center,
684 HorizontalAlignment = HorizontalAlignment.Center,
685 Size = new Size(0,72),
686 TextColor = new Color("#000C2B"),
687 BackgroundColor = Color.White,
688 ThemeChangeSensitive = false
690 Divider = new ViewStyle()
693 WidthResizePolicy = ResizePolicyType.FillToParent,
694 Position = new Position(0, 132),
695 BackgroundColor = new Color("#0A0E4A"),
697 StartScrollOffset = new Size2D(0, 12),
702 theme.AddStyleWithoutClone("Tizen.NUI.Components.Menu", new MenuStyle()
704 Content = new ViewStyle()
706 BackgroundColor = new Color("#FFFEFE"),
707 CornerRadius = 24.0f,
708 BoxShadow = new Shadow(8.0f, new Color(0.0f, 0.0f, 0.0f, 0.16f), new Vector2(0.0f, 2.0f)),
709 // FIXME: ScrollableBase with LinearLayout's Padding.Start is applied both Start and End.
710 // ScrollableBase with LinearLayout's Padding.Top is applied both Top and Bottom.
711 Padding = new Extents(32, 0, 16, 0),
715 // MenuItem base style
716 theme.AddStyleWithoutClone("Tizen.NUI.Components.MenuItem", new ButtonStyle()
718 Size = new Size(324, -2),
719 MinimumSize = new Size2D(0, 64),
720 BackgroundColor = new Color("#FFFEFE"),
722 // FIXME: ClippingModeType.ClipChildren cannot support anti-aliasing
723 // So not to show left bottom corner of MenuItem, MenuItem.Padding.Start is 0 and Menu.Content.Padding.Start is 32.
724 // (instead of MenuItem.Padding.Start 16 and Menu.Content.Padding.Start is 16)
725 Padding = new Extents(0, 0, 24, 24),
726 Text = new TextLabelStyle()
730 HorizontalAlignment = HorizontalAlignment.Begin,
731 VerticalAlignment = VerticalAlignment.Center,
732 TextColor = new Selector<Color>()
734 Normal = new Color("#090E21"),
735 Focused = new Color("#FF6200"),
736 Pressed = new Color("#FF6200"),
737 Disabled = new Color("#CACACA"),
738 Selected = new Color("#FF6200"),
740 ThemeChangeSensitive = false
742 Icon = new ImageViewStyle()
744 Size = new Size(32, 32),
745 Color = new Selector<Color>()
747 Normal = new Color("#090E21"),
748 Focused = new Color("#FF6200"),
749 Pressed = new Color("#FF6200"),
750 Disabled = new Color("#CACACA"),
751 Selected = new Color("#FF6200"),
756 // AlertDialog base style
757 theme.AddStyleWithoutClone("Tizen.NUI.Components.DialogPage.Scrim", new ViewStyle()
759 BackgroundColor = new Color("#090E21"),
768 #endif // !PROFILE_WEARABLE