From 1293fea19c6a2b558986856e301d5218c1979692 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期五, 27 十一月 2020 14:08:43 +0800 Subject: [PATCH] Revert "20201127 接受bus数据修改完成,搜索网关、一端口修改完成" --- HDL_ON/UI/UI2/4-PersonalCenter/AboutOnPage.cs | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 56 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AboutOnPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AboutOnPage.cs new file mode 100644 index 0000000..1a8753c --- /dev/null +++ b/HDL_ON/UI/UI2/4-PersonalCenter/AboutOnPage.cs @@ -0,0 +1,56 @@ +锘縰sing System; +using Shared; +using HDL_ON.UI.CSS; + +namespace HDL_ON.UI +{ + public class AboutOnPage : FrameLayout + { + FrameLayout bodyView; + + public AboutOnPage() + { + bodyView = this; + } + + public void LoadPage() + { + new TopViewDiv(bodyView, Language.StringByID(StringId.About)).LoadTopView(); + + Button btnOnIcon = new Button() + { + Gravity = Gravity.CenterHorizontal, + Y = Application.GetRealWidth(106), + Width = Application.GetRealWidth(58), + Height = Application.GetRealWidth(58), + UnSelectedImagePath = "OnIcon.png", + }; + bodyView.AddChidren(btnOnIcon); + + Button btnOnTitle = new Button() + { + //Gravity = Gravity.CenterHorizontal, + Y = Application.GetRealWidth(184), + Height = Application.GetRealWidth(28), + TextAlignment = TextAlignment.Center, + Text = "ON+", + TextColor = CSS_Color.FirstLevelTitleColor, + TextSize = CSS_FontSize.EmphasisFontSize_Secondary, + IsBold = true, + }; + bodyView.AddChidren(btnOnTitle); + + Button btnOnVersion = new Button() + { + Y = btnOnTitle.Bottom, + Height = Application.GetRealWidth(25), + TextAlignment = TextAlignment.Center, + TextColor = CSS_Color.TextualColor, + TextSize = CSS_FontSize.PromptFontSize_FirstLevel, + Text = Language.StringByID(StringId.VersionNumber) + " " + MainPage.VersionString, + }; + bodyView.AddChidren(btnOnVersion); + + } + } +} -- Gitblit v1.8.0