| | |
| | | |
| | | public void LoadPage() |
| | | { |
| | | |
| | | |
| | | new TopViewDiv(bodyView, Language.StringByID(StringId.Bind3thIotAccount)).LoadTopView(CSS_Color.MainBackgroundColor); |
| | | |
| | | var topView = new TopViewDiv(bodyView, Language.StringByID(StringId.Bind3thIotAccount)); |
| | | topView.maginY = 10; |
| | | topView.LoadTopView(CSS_Color.MainBackgroundColor); |
| | | |
| | | bodyView.BackgroundColor = CSS_Color.MainBackgroundColor; |
| | | |
| | | bodyView.AddChidren(new Button |
| | | { |
| | | Y = Application.GetRealHeight(64), |
| | | Y = Application.GetRealHeight(64+10), |
| | | Height = Application.GetRealHeight(1), |
| | | BackgroundColor = CSS_Color.DividingLineColor, |
| | | }); |
| | | |
| | | Button btnTipText = new Button() |
| | | { |
| | | Y = Application.GetRealHeight(80), |
| | | Y = Application.GetRealHeight(80+10), |
| | | Width = Application.GetRealWidth(347), |
| | | Height = Application.GetRealHeight(65), |
| | | Gravity = Gravity.CenterHorizontal, |
| | |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | Padding = new Padding(12, Application.GetRealWidth(16), 12, Application.GetRealWidth(16)), |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | Text = "通过绑定第三方平台账号寄哪里云端连接,将您在三方平台的设备同步到APP进行控制", |
| | | Text = "通过绑定第三方平台账号寄哪里云端连接,将您在三方平台的设备同步到On Pro进行控制", |
| | | IsMoreLines = true, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | }; |
| | | bodyView.AddChidren(btnTipText); |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | | btnTipText.Text = "Synchronize your devices on the third-party platform to on App for control by binding the third-party platform account to the cloud connection"; |
| | | btnTipText.Text = "Synchronize your devices on the third-party platform to on Pro for control by binding the third-party platform account to the cloud connection"; |
| | | } |
| | | |
| | | |
| | | contentView = new VerticalScrolViewLayout() |
| | | { |
| | | Y = Application.GetRealHeight(150), |
| | | Height = Application.GetRealHeight(573), |
| | | Y = Application.GetRealHeight(150+10), |
| | | Height = Application.GetRealHeight(573-10), |
| | | }; |
| | | bodyView.AddChidren(contentView); |
| | | |