using System; using HDL_ON.UI.CSS; using Shared; namespace HDL_ON.UI.UI2.FuntionControlView.VideoDoorLock { public class VideoDoorlockBatteryManagementPage : FrameLayout { FrameLayout bodyView; public VideoDoorlockBatteryManagementPage() { bodyView = this; } public void LoadPage() { new TopViewDiv(bodyView, Language.StringByID(StringId.AudioSetup)).LoadTopView(); bodyView.BackgroundColor = CSS_Color.MainBackgroundColor; var btn = new Button() { Width = Application.GetRealWidth(343), X = Application.GetRealWidth(16), Y = Application.GetRealHeight(64 + 24), IsMoreLines = true, TextAlignment = TextAlignment.TopLeft, TextSize = CSS_FontSize.TextFontSize, TextColor = CSS_Color.FirstLevelTitleColor, }; bodyView.AddChidren(btn); } } }