黄学彪
2020-12-16 0d9f64668fd7350d6a21fd157e32009a96d98134
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
using System;
using Shared.Common;
using Shared.Phone.Device.CommonForm;
 
namespace Shared.Phone.UserView
{
    /// <summary>
    /// 该类已经废弃
    /// </summary>
    public class LoginLoading : FrameLayout
    {
        public LoginLoading()
        {
            BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor;
            Tag = "Login";
            this.BackgroundImagePath = "Logo/StartBackGroud.png";
        }
 
        /// <summary>
        /// show
        /// </summary>
        public void Show()
        {
            //Logo图标
            var btnIcon = new Button();
            btnIcon.Y = Application.GetRealHeight(570);
            btnIcon.Width = HdlControlLogic.Current.GetPictrueRealSize(184);
            btnIcon.Height = HdlControlLogic.Current.GetPictrueRealSize(184);
            btnIcon.UnSelectedImagePath = "Logo/Logo.png";
            btnIcon.Gravity = Gravity.CenterHorizontal;
            this.AddChidren(btnIcon);
 
            //Evoyo Home
            var btnText = new Button();
            btnText.Height = Application.GetRealHeight(70);
            btnText.Y = btnIcon.Bottom;
            btnText.TextAlignment = TextAlignment.Center;
            btnText.Text = "Evoyo Home";
            btnText.TextColor = UserCenterColor.Current.White;
            btnText.TextSize = 16;
            this.AddChidren(btnText);
 
            //智能改变生活 | Enjoy smart life
            var btnTip = new Button();
            btnTip.Height = btnIcon.Bottom + Application.GetRealHeight(850);
            btnTip.Y = btnIcon.Bottom;
            btnTip.TextAlignment = TextAlignment.Center;
            btnTip.TextSize = 16;
            btnTip.TextID = R.MyInternationalizationString.uLogoPageText;
            this.AddChidren(btnTip);
        }
    }
}