| | |
| | | airqualityView.btnLine.X = Application.GetRealWidth(16); |
| | | airqualityView.btnLine.Width = Application.GetRealWidth(375 - 16 - 16); |
| | | airqualityView.btnText.TextID =StringId.shuwaigongneng; |
| | | airqualityView.btnText.Width = Application.GetRealWidth(280); |
| | | viewLayout.AddChidren(airqualityView.FLayoutView()); |
| | | //天气变化(城市天气) |
| | | LogicView.SelectTypeView weatherView = new LogicView.SelectTypeView(); |
| | |
| | | weatherView.btnLine.Width = Application.GetRealWidth(375 - 16 - 16); |
| | | weatherView.btnText.TextID = StringId.tianqibianhua; |
| | | viewLayout.AddChidren(weatherView.FLayoutView()); |
| | | |
| | | //空气质量 |
| | | LogicView.SelectTypeView kongqiViewk = new LogicView.SelectTypeView(); |
| | | kongqiViewk.frameLayout.Y = weatherView.frameLayout.Bottom; |
| | |
| | | kongqiViewk.btnText.TextID = StringId.kongqizhiliang; |
| | | viewLayout.AddChidren(kongqiViewk.FLayoutView()); |
| | | #endregion |
| | | |
| | | #region 所有点击事件 |
| | | //室外温、湿度、PM2.5变化 |
| | | airqualityView.btnClick.MouseUpEventHandler += (sen, e) => { |