| | |
| | | //房间图片
|
| | | var btnPic = new ImageView();
|
| | | btnPic.Y = Application.GetRealHeight(60);
|
| | | btnPic.Width = Application.GetMinRealAverage(824);
|
| | | btnPic.Height = Application.GetMinRealAverage(549);
|
| | | btnPic.Width = this.GetPictrueRealSize(824);
|
| | | btnPic.Height = this.GetPictrueRealSize(549);
|
| | | btnPic.Radius = (uint)Application.GetRealHeight(17);
|
| | | btnPic.Gravity = Gravity.CenterHorizontal;
|
| | | if (this.editorRoom.BackgroundImageType == 0)
|
| | |
| | | var btnTemper = rowTemperature.AddMostRightView(Language.StringByID(R.MyInternationalizationString.uNothing), 300);
|
| | | //底线
|
| | | rowTemperature.AddBottomLine();
|
| | | //分享的房间不能修改
|
| | | if (this.editorRoom.IsSharedRoom == false)
|
| | | //分享的房间不能修改 或者当前住宅不是虚拟的
|
| | | if (this.editorRoom.IsSharedRoom == false && Common.Config.Instance.Home.IsVirtually == false)
|
| | | {
|
| | | rowTemperature.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | |
| | | var btnHumi = rowHumidity.AddMostRightView(Language.StringByID(R.MyInternationalizationString.uNothing), 300);
|
| | | //底线
|
| | | rowHumidity.AddBottomLine();
|
| | | //分享的房间不能修改
|
| | | if (this.editorRoom.IsSharedRoom == false)
|
| | | //分享的房间不能修改 或者当前住宅不是虚拟的
|
| | | if (this.editorRoom.IsSharedRoom == false && Common.Config.Instance.Home.IsVirtually == false)
|
| | | {
|
| | | rowHumidity.ButtonClickEvent += (sender, e) =>
|
| | | {
|