{
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = 48,
- BackgroundColor = Color.White,
+ BackgroundColor = new Color(ThemeManager.PlatformThemeId == "org.tizen.default-light-theme" ? Color.White : new Color("#1D1A21")),
PlaceholderText = curvalue,
Padding = new Extents(16, 16, 0, 0).SpToPx(),
};
AddHeader();
AddInfo();
- var forgetButton = new Button()
- {
- Text = Resources.IDS_WIFI_SK_FORGET,
- WidthSpecification = 252,
- HeightSpecification = 48,
- BackgroundColor = Color.White,
- TextColor = new Color("#FF6200"),
- BorderlineColor = new Color("#FF6200"),
- BorderlineWidth = 2,
- };
-
- forgetButton.Clicked += OnForgetClicked;
- mInfoView.Add(forgetButton);
-
AppBar = CreateAppBar();
Content = mInfoView;
}
backButton.Clicked += OnBackClicked;
appBar.NavigationContent = backButton;
+ Button mForgetButton = new Button()
+ {
+ Text = Resources.IDS_WIFI_SK_FORGET,
+ };
+ mForgetButton.Clicked += OnForgetClicked;
+ mForgetButton.TextColor = new Color(ThemeManager.PlatformThemeId == "org.tizen.default-light-theme" ? "#FF6200" : "#FF8A00");
+ mForgetButton.BackgroundColor = new Color(ThemeManager.PlatformThemeId == "org.tizen.default-light-theme" ? new Color("#FAFAFA") : Color.Black);
+ appBar.Add(mForgetButton);
return appBar;
}