HDL Home App 第二版本 旧平台金堂用 正在使用
温居城
2021-10-27 993ecf49ae04ccea89f6bc4a32cfc0c45def1215
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
using System;
using Shared.Common;
using Shared.R;
 
namespace Shared.Phone.Device.Logic.LogicView
{
    public class SaveView
    {
        public FrameLayout frameLayout = new FrameLayout
        {
            Height = Application.GetRealHeight(260),
            BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor,
        };
        public Button saveBtn = new Button
        {
            X = Application.GetRealWidth(85),
            Height = Application.GetRealHeight(130),
            Width = Application.GetRealWidth(910),
            Radius = (uint)Application.GetRealHeight(60),
            BackgroundColor = ZigbeeColor.Current.LogicBtnSaveBackgroundColor,
            TextID = MyInternationalizationString.Save,
            TextColor = ZigbeeColor.Current.LogicBtnSaveTextColor,
            TextSize = 16,
        };
        public Button clickviewBtn = new Button
        {
            Height = Application.GetRealHeight(260),
        };
        public FrameLayout Show()
        {
            frameLayout.AddChidren(saveBtn);
            frameLayout.AddChidren(clickviewBtn);
            return frameLayout;
        }
    }
}