theme.AddStyleWithoutClone("Tizen.NUI.Components.CheckBox", new ButtonStyle()
{
- TextPadding = 5,
+ TextPadding = new Extents(32, 0, 0, 0),
Icon = new ImageViewStyle()
{
- Size = new Size(30, 30),
- Opacity = new Selector<float?>()
- {
- Normal = 1.0f,
- Disabled = 0.4f,
- Selected = 1.0f,
- },
- BackgroundImage = new Selector<string>()
- {
- Pressed = FrameworkInformation.ResourcePath + "nui_component_default_checkbox_bg_p.png",
- Selected = FrameworkInformation.ResourcePath + "nui_component_default_checkbox_bg_p.png",
- Other = FrameworkInformation.ResourcePath + "nui_component_default_checkbox_bg_n.png",
- },
+ Size = new Size(36, 36),
ResourceUrl = new Selector<string>()
{
- Pressed = "",
- Selected = FrameworkInformation.ResourcePath + "nui_component_default_checkbox_s.png",
- Other = "",
+ Normal = FrameworkInformation.ResourcePath + "IoT_check_off.svg",
+ Pressed = FrameworkInformation.ResourcePath + "IoT_check_off_p.svg",
+ Disabled = FrameworkInformation.ResourcePath + "IoT_check_off_d.svg",
+ Focused = FrameworkInformation.ResourcePath + "IoT_check_off_f.svg",
+ Selected = FrameworkInformation.ResourcePath + "IoT_check_on.svg",
+ SelectedPressed = FrameworkInformation.ResourcePath + "IoT_check_on_p.svg",
+ SelectedFocused = FrameworkInformation.ResourcePath + "IoT_check_on_f.svg",
+ DisabledSelected = FrameworkInformation.ResourcePath + "IoT_check_on_d.svg",
},
},
Text = new TextLabelStyle()
{
- PointSize = 12,
- TextColor = new Selector<Color>()
- {
- Normal = new Color(0.22f, 0.22f, 0.22f, 1),
- Pressed = new Color(0.11f, 0.11f, 0.11f, 1),
- Disabled = new Color(0.66f, 0.66f, 0.66f, 1),
- }
+ PixelSize = 32,
+ TextColor = new Color("#001447")
}
});
theme.AddStyleWithoutClone("Tizen.NUI.Components.RadioButton", new ButtonStyle()
{
- IconPadding = 5,
+ TextPadding = new Extents(32, 0, 0, 0),
Icon = new ImageViewStyle()
{
- Size = new Size(30, 30),
- Opacity = new Selector<float?>()
+ Size = new Size(36, 36),
+ ResourceUrl = new Selector<string>()
{
- Normal = 1.0f,
- Disabled = 0.4f,
- Selected = 1.0f,
+ Normal = FrameworkInformation.ResourcePath + "IoT_radiobutton_off.svg",
+ Pressed = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_p.svg",
+ Disabled = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_d.svg",
+ Focused = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_f.svg",
+ Selected = FrameworkInformation.ResourcePath + "IoT_radiobutton_on.svg",
+ SelectedPressed = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_p.svg",
+ SelectedFocused = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_f.svg",
+ DisabledSelected = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_d.svg",
},
- BackgroundImage = new Selector<string>()
- {
- Pressed = FrameworkInformation.ResourcePath + "nui_component_default_radiobutton_p.png",
- Selected = FrameworkInformation.ResourcePath + "nui_component_default_radiobutton_s.png",
- Other = FrameworkInformation.ResourcePath + "nui_component_default_radiobutton_n.png",
- }
},
Text = new TextLabelStyle()
{
- PointSize = 12,
- TextColor = new Selector<Color>()
- {
- Normal = new Color(0.22f, 0.22f, 0.22f, 1),
- Pressed = new Color(0.11f, 0.11f, 0.11f, 1),
- Disabled = new Color(0.66f, 0.66f, 0.66f, 1),
- }
+ PixelSize = 32,
+ TextColor = new Color("#001447")
}
});
theme.AddStyleWithoutClone("Tizen.NUI.Components.Switch", new SwitchStyle()
{
- IconPadding = 5,
+ TextPadding = new Extents(32, 0, 0, 0),
Track = new ImageViewStyle()
{
- Size = new Size(96, 60),
+ Size = new Size(80, 40),
ResourceUrl = new Selector<string>()
{
- Normal = FrameworkInformation.ResourcePath + "nui_component_default_switch_track_n.png",
- Selected = FrameworkInformation.ResourcePath + "nui_component_default_switch_track_s.png",
- Disabled = FrameworkInformation.ResourcePath + "nui_component_default_switch_track_d.png",
- DisabledSelected = FrameworkInformation.ResourcePath + "nui_component_default_switch_track_ds.png",
- }
+ Normal = FrameworkInformation.ResourcePath + "IoT_switch_track_off.svg",
+ Pressed = FrameworkInformation.ResourcePath + "IoT_switch_track_off_p.svg",
+ Disabled = FrameworkInformation.ResourcePath + "IoT_switch_track_off_d.svg",
+ Focused = FrameworkInformation.ResourcePath + "IoT_switch_track_off_f.svg",
+ Selected = FrameworkInformation.ResourcePath + "IoT_switch_track_on.svg",
+ SelectedPressed = FrameworkInformation.ResourcePath + "IoT_switch_track_on_p.svg",
+ SelectedFocused = FrameworkInformation.ResourcePath + "IoT_switch_track_on_f.svg",
+ DisabledSelected = FrameworkInformation.ResourcePath + "IoT_switch_track_on_d.svg",
+ },
},
Thumb = new ImageViewStyle()
{
- Size = new Size(60, 60),
+ Size = new Size(40, 40),
ResourceUrl = new Selector<string>()
{
- Normal = FrameworkInformation.ResourcePath + "nui_component_default_switch_thumb_n.png",
- Disabled = FrameworkInformation.ResourcePath + "nui_component_default_switch_thumb_d.png",
- Selected = FrameworkInformation.ResourcePath + "nui_component_default_switch_thumb_n.png",
+ Normal = FrameworkInformation.ResourcePath + "IoT_switch_thumb.svg",
+ Disabled = FrameworkInformation.ResourcePath + "IoT_switch_thumb_d.svg",
+ Selected = FrameworkInformation.ResourcePath + "IoT_switch_thumb_s.svg",
+ SelectedPressed = FrameworkInformation.ResourcePath + "IoT_switch_thumb_sp.svg",
+ SelectedFocused = FrameworkInformation.ResourcePath + "IoT_switch_thumb_sf.svg",
}
},
Text = new TextLabelStyle()
{
- PointSize = 12,
- TextColor = new Selector<Color>()
- {
- Normal = new Color(0.22f, 0.22f, 0.22f, 1),
- Pressed = new Color(0.11f, 0.11f, 0.11f, 1),
- Disabled = new Color(0.66f, 0.66f, 0.66f, 1),
- }
+ PixelSize = 32,
+ TextColor = new Color("#001447")
}
});