wxr
2023-07-17 a100ed2898468add96398ae069080a103c355c08
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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);
 
 
 
        }
 
    }
}