黄学彪
2020-09-22 ade5917841b0fdcb1df7353ef7c56b1a1bdc9282
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;
        }
    }
}