| | |
| | | /// </summary> |
| | | Action backAction; |
| | | |
| | | public int maginY = 0; |
| | | |
| | | public TopViewDiv(FrameLayout frame, string str) |
| | | { |
| | | baseView = frame; |
| | |
| | | { |
| | | contentView = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(64), |
| | | Height = Application.GetRealHeight(64+ maginY), |
| | | BackgroundColor = color, |
| | | }; |
| | | baseView.AddChidren(contentView); |
| | |
| | | Button btnBackIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(10), |
| | | Y = Application.GetRealHeight(29), |
| | | Y = Application.GetRealHeight(29 + maginY), |
| | | Width = Application.GetRealWidth(40), |
| | | Height = Application.GetRealWidth(28), |
| | | UnSelectedImagePath = "Public/BackIcon.png", |
| | |
| | | btnTilte = new Button() |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Y = Application.GetRealHeight(30), |
| | | Y = Application.GetRealHeight(30 + maginY), |
| | | Width = Application.GetRealWidth(270), |
| | | Height = Application.GetRealHeight(25), |
| | | TextAlignment = TextAlignment.Center, |