| | |
| | | #region top |
| | | FrameLayout topView = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(64), |
| | | Height = Application.GetRealHeight(74), |
| | | BackgroundColor = CSS_Color.TopViewColor, |
| | | }; |
| | | bodyView.AddChidren(topView); |
| | | |
| | | btnRoomTilte = new Button() |
| | | { |
| | | Y = Application.GetRealHeight(30), |
| | | Y = Application.GetRealHeight(40), |
| | | Width = Application.GetRealWidth(170), |
| | | Height = Application.GetRealHeight(25), |
| | | TextAlignment = TextAlignment.CenterRight, |
| | |
| | | btnFuncTitle = new Button() |
| | | { |
| | | X = Application.GetRealWidth(209), |
| | | Y = Application.GetRealHeight(30), |
| | | Y = Application.GetRealHeight(40), |
| | | Width = Application.GetRealWidth(170), |
| | | Height = Application.GetRealHeight(25), |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | |
| | | |
| | | contentPageView = new PageLayout() |
| | | { |
| | | Y = Application.GetRealHeight(64), |
| | | Height = Application.GetRealHeight(667 - 64 - 49 + 30), |
| | | Y = Application.GetRealHeight(74), |
| | | Height = Application.GetRealHeight(667 - 74 - 49 + 30), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | IsShowPoint = false |
| | | }; |
| | |
| | | |
| | | h5BasePage.AddChidren(Inverter.Ins.H5Page);//000 |
| | | string lz = "zh"; |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | if (Language.CurrentLanguage == "Ukraine") { |
| | | lz = "ua"; |
| | | } |
| | | else if (Language.CurrentLanguage == "Chinese") |
| | | { |
| | | lz = "zh"; |
| | | } |
| | | else |
| | | { |
| | | lz = "en"; |
| | | } |