theme.AddStyleWithoutClone("Tizen.NUI.Components.CheckBox", new ButtonStyle()
{
- Size = new Size(30, 30),
+ IconPadding = 5,
Icon = new ImageViewStyle()
{
+ Size = new Size(30, 30),
Opacity = new Selector<float?>()
{
Normal = 1.0f,
{
BackgroundColor = new Selector<Color>()
{
- Normal = new Color(1, 1, 1, 1),
Pressed = new Color(0, 0, 0, 0.1f),
- Other = new Color(1, 1, 1, 1),
+ Other = new Color(1, 1, 1, 0.1f),
},
},
Text = new TextLabelStyle()
theme.AddStyleWithoutClone("Tizen.NUI.Components.RadioButton", new ButtonStyle()
{
- Size = new Size(30, 30),
+ IconPadding = 5,
Icon = new ImageViewStyle()
{
+ Size = new Size(30, 30),
Opacity = new Selector<float?>()
{
Normal = 1.0f,
theme.AddStyleWithoutClone("Tizen.NUI.Components.Switch", new SwitchStyle()
{
- Size = new Size(96, 60),
+ IconPadding = 5,
Track = new ImageViewStyle()
{
Size = new Size(96, 60),
{
Normal = FrameworkInformation.ResourcePath + "nui_component_default_pagination_normal_dot.png",
Selected = FrameworkInformation.ResourcePath + "nui_component_default_pagination_focus_dot.png",
- }
+ },
+ IndicatorSize = new Size(10, 10),
});
theme.AddStyleWithoutClone("Tizen.NUI.Components.Scrollbar", new ScrollbarStyle()
Selected = new Color(0.701f, 0.898f, 0.937f, 1),
},
});
-
+
theme.AddStyleWithoutClone("Tizen.NUI.Components.DefaultLinearItem", new DefaultLinearItemStyle()
{
SizeHeight = 130,
},
});
+ theme.AddStyleWithoutClone("Tizen.NUI.Components.AppBar", new AppBarStyle()
+ {
+ Size = new Size(-1, 120),
+ BackgroundColor = new Color("#EEEFF1FF"),
+ BackButton = new ButtonStyle()
+ {
+ Size = new Size(48, 48),
+ CornerRadius = 0,
+ BackgroundColor = new Color(0, 0, 0, 0),
+ Icon = new ImageViewStyle()
+ {
+ Size = new Size(48, 48),
+ ResourceUrl = FrameworkInformation.ResourcePath + "nui_component_default_back_button.png",
+ Color = new Selector<Color>()
+ {
+ Normal = new Color("#0A0E4AFF"),
+ Focused = new Color("#00338BFF"),
+ Pressed = new Color("#1B69CAFF"),
+ Disabled = new Color("#C3CAD2FF"),
+ },
+ },
+ },
+ TitleTextLabel = new TextLabelStyle()
+ {
+ PixelSize = 40,
+ VerticalAlignment = VerticalAlignment.Center,
+ TextColor = new Selector<Color>()
+ {
+ Normal = new Color("#000C2BFF"),
+ }
+ },
+ ActionView = new ViewStyle()
+ {
+ Size = new Size(-1, 48),
+ CornerRadius = 0,
+ BackgroundColor = new Color(0, 0, 0, 0),
+ },
+ ActionButton = new ButtonStyle()
+ {
+ Size = new Size(-1, 48),
+ CornerRadius = 0,
+ BackgroundColor = new Color(0, 0, 0, 0),
+ Text = new TextLabelStyle()
+ {
+ PixelSize = 26,
+ TextColor = new Selector<Color>()
+ {
+ Normal = new Color("#0A0E4AFF"),
+ Focused = new Color("#00338BFF"),
+ Pressed = new Color("#1B69CAFF"),
+ Disabled = new Color("#C3CAD2FF"),
+ },
+ },
+ Icon = new ImageViewStyle()
+ {
+ Size = new Size(-1, 48),
+ Color = new Selector<Color>()
+ {
+ Normal = new Color("#0A0E4AFF"),
+ Focused = new Color("#00338BFF"),
+ Pressed = new Color("#1B69CAFF"),
+ Disabled = new Color("#C3CAD2FF"),
+ },
+ },
+ },
+ Padding = new Extents(64, 64, 0, 0),
+ NavigationPadding = new Extents(0, 24, 0, 0),
+ ActionPadding = new Extents(40, 0, 0, 0),
+ ActionCellPadding = new Size2D(40, 0),
+ });
+
return theme;
}
}