| | |
| | | }; |
| | | dialog.AddChidren(backgroundFL); |
| | | |
| | | backgroundFL.Animate = Animate.DownToUp; |
| | | |
| | | var topView = new FrameLayout |
| | | { |
| | | Height = Application.GetRealHeight(138) |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = ZigbeeColor.Current.GXCTextGrayColor, |
| | | TextID = R.MyInternationalizationString.Cancel, |
| | | TextSize = 16 |
| | | TextSize = 14 |
| | | }; |
| | | topView.AddChidren(cancle); |
| | | |
| | |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | TextColor = ZigbeeColor.Current.GXCTextSelectedColor2, |
| | | TextID = R.MyInternationalizationString.Confrim, |
| | | TextSize = 16 |
| | | TextSize = 14 |
| | | }; |
| | | topView.AddChidren(confrim); |
| | | |
| | |
| | | } |
| | | foreach (var room in Shared.Common.Room.Lists) |
| | | { |
| | | if(room.IsLove) |
| | | { |
| | | continue; |
| | | } |
| | | roomList.Add(room.Name); |
| | | roomIdList.Add(room.Id); |
| | | } |
| | |
| | | if (floorList.Count == 0) |
| | | { |
| | | pickView.setNPicker(roomList, null, null); |
| | | currentId = roomIdList[0]; |
| | | pickView.OnSelectChangeEvent += (l1, l2, l3) => |
| | | { |
| | | currentId = roomIdList[l1]; |
| | |
| | | else |
| | | { |
| | | pickView.setNPicker(floorList, roomList, null); |
| | | currentId = roomIdList[0]; |
| | | pickView.OnSelectChangeEvent += (l1, l2, l3) => |
| | | { |
| | | currentId = roomIdList[l2]; |