| | |
| | | { |
| | | Height = Application.GetRealHeight(150), |
| | | }; |
| | | /// <summary> |
| | | /// 功能标题 |
| | | /// </summary> |
| | | public Button titleBtn = new Button |
| | | { |
| | | X = Application.GetRealWidth(58), |
| | |
| | | TextSize = 14, |
| | | |
| | | }; |
| | | /// <summary> |
| | | /// 下一级菜单图标 |
| | | /// </summary> |
| | | public Button nextBtn = new Button |
| | | { |
| | | Width = Application.GetMinRealAverage(103), |
| | | Height = Application.GetMinRealAverage(103), |
| | | UnSelectedImagePath = "ZigeeLogic/next.png", |
| | | UnSelectedImagePath = "ZigeeLogic/back1.png", |
| | | X = Application.GetRealWidth(920), |
| | | Y = Application.GetRealHeight(11 + 20), |
| | | }; |
| | | |
| | | /// <summary> |
| | | /// 状态显示文本 |
| | | /// </summary> |
| | | public Button seletecdTextBtn = new Button |
| | | { |
| | | X = Application.GetRealWidth(300), |
| | | Y = Application.GetRealHeight(34), |
| | | Height = Application.GetRealHeight(58), |
| | | Width = Application.GetRealWidth(1080-300 - 126), |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | TextColor = ZigbeeColor.Current.LogicBtnSelectedColor, |
| | | TextSize = 14, |
| | | }; |
| | | |
| | | public Button lineBtn = new Button |
| | | { |
| | | Width = Application.GetRealWidth(964), |
| | |
| | | public FrameLayout Show() |
| | | { |
| | | frameLayout.AddChidren(titleBtn); |
| | | frameLayout.AddChidren(seletecdTextBtn); |
| | | frameLayout.AddChidren(nextBtn); |
| | | lineBtn.Y = frameLayout.Height - 1; |
| | | frameLayout.AddChidren(lineBtn); |