| | |
| | | bodyView.BackgroundColor = CSS_Color.MainBackgroundColor; |
| | | this.AddChidren(bodyView); |
| | | //加载顶部菜单栏 |
| | | new TopViewDiv(this, bodyView, Language.StringByID(StringId.PlsSelectServer)).LoadTopView(); |
| | | new TopViewDiv(this, bodyView, Language.StringByID(StringId.PlsSelectServer)) { maginY = 10}.LoadTopView(); |
| | | //加载服务器区域选择 |
| | | AddRegionalSelectionView(); |
| | | //Show |
| | |
| | | |
| | | VerticalScrolViewLayout VerticalScrolViewMiddle = new VerticalScrolViewLayout() |
| | | { |
| | | Y = Application.GetRealHeight(74), |
| | | Height = bodyView.Height - Application.GetRealHeight(74), |
| | | Y = Application.GetRealHeight(84), |
| | | Height = bodyView.Height - Application.GetRealHeight(84), |
| | | ScrollEnabled = false, |
| | | }; |
| | | bodyView.AddChidren(VerticalScrolViewMiddle); |
| | |
| | | } |
| | | }); |
| | | |
| | | //var bottomView = new FrameLayout() |
| | | //{ |
| | | // Y = Application.GetRealHeight(591), |
| | | // Height = Application.GetRealHeight(76) + Application.GetRealWidth(44), |
| | | // Radius = (uint)Application.GetRealWidth(22), |
| | | // BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | //}; |
| | | //bodyView.AddChidren(bottomView); |
| | | |
| | | |
| | | //btnConfrim = new Button() |
| | | //{ |
| | | // Gravity = Gravity.CenterHorizontal, |
| | | // Y = Application.GetRealHeight(603), |
| | | // Width = Application.GetRealWidth(220), |
| | | // Height = Application.GetRealWidth(44), |
| | | // Radius = (uint)Application.GetRealWidth(22), |
| | | // BackgroundColor = CSS_Color.MainColor, |
| | | // TextColor = CSS_Color.MainBackgroundColor, |
| | | // TextSize = CSS_FontSize.SubheadingFontSize, |
| | | // TextAlignment = TextAlignment.Center, |
| | | // IsBold = true, |
| | | // TextID = StringId.ConfirmAdd, |
| | | //}; |
| | | //bodyView.AddChidren(btnConfrim); |
| | | |
| | | //btnConfrim.MouseUpEventHandler = (sender, e) => { |
| | | |
| | | //}; |
| | | } |
| | | |
| | | /// <summary> |