| | |
| | | /// </summary> |
| | | Button btnBack; |
| | | |
| | | public Button btnTilte; |
| | | /// <summary> |
| | | /// 标题名称 |
| | | /// </summary> |
| | |
| | | /// </summary> |
| | | /// <param name="frame"></param> |
| | | /// <param name="tilte"></param> |
| | | public void LoadTopView(uint color = CSS_Color.TopViewColor) |
| | | public void LoadTopView(uint color = CSS_Color.TopViewColor)//,Action<List<Function> action |
| | | { |
| | | contentView = new FrameLayout() |
| | | { |
| | |
| | | }; |
| | | contentView.AddChidren(btnBackIcon); |
| | | |
| | | Button btnTilte = new Button() |
| | | btnTilte = new Button() |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Y = Application.GetRealHeight(30), |
| | |
| | | Text = title |
| | | }; |
| | | contentView.AddChidren(btnTilte); |
| | | |
| | | |
| | | |
| | | btnBack = new Button() |