| | |
| | | Y = topFrame.Bottom, |
| | | Width = Application.GetRealWidth(792), |
| | | Height = Application.GetRealHeight(127), |
| | | Gravity = Gravity.BottomCenter, |
| | | }; |
| | | tipFLayout.AddChidren(bottomFrame); |
| | | |
| | |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = ZigbeeColor.Current.LogicBtnCancelColor, |
| | | TextSize = 14, |
| | | Height = Application.GetRealHeight(127), |
| | | Height = bottomFrame.Height, |
| | | Width = Application.GetRealWidth(397), |
| | | BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor, |
| | | TextID = R.MyInternationalizationString.cancel, |
| | |
| | | TextColor = ZigbeeColor.Current.LogicBlankBackgroundColor, |
| | | TextSize = 14, |
| | | X = cancelBtn.Right, |
| | | Height = Application.GetRealHeight(127), |
| | | Height = bottomFrame.Height, |
| | | Width = bottomFrame.Width - cancelBtn.Width, |
| | | BackgroundColor = ZigbeeColor.Current.LogicBtnTypeColor, |
| | | TextID = R.MyInternationalizationString.confrim, |
| | |
| | | Y = topFrame.Bottom, |
| | | Width = Application.GetRealWidth(792), |
| | | Height = Application.GetRealHeight(127), |
| | | Gravity=Gravity.BottomCenter, |
| | | }; |
| | | tipFLayout.AddChidren(bottomFrame); |
| | | ///取消控件 |
| | |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = ZigbeeColor.Current.LogicBtnCancelColor, |
| | | TextSize = 14, |
| | | Height = Application.GetRealHeight(127), |
| | | Height = bottomFrame.Height, |
| | | Width = Application.GetRealWidth(397), |
| | | BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor, |
| | | TextID = R.MyInternationalizationString.cancel, |
| | |
| | | TextColor = ZigbeeColor.Current.LogicBlankBackgroundColor, |
| | | TextSize = 14, |
| | | X = cancelBtn.Right, |
| | | Height = Application.GetRealHeight(127), |
| | | Height = bottomFrame.Height, |
| | | Width = bottomFrame.Width - cancelBtn.Width, |
| | | BackgroundColor = ZigbeeColor.Current.LogicBtnTypeColor, |
| | | TextID = R.MyInternationalizationString.confrim, |
| | |
| | | Y = topFrame.Bottom, |
| | | Width = Application.GetRealWidth(792), |
| | | Height = Application.GetRealHeight(127), |
| | | Gravity = Gravity.BottomCenter, |
| | | }; |
| | | tipFLayout.AddChidren(bottomFrame); |
| | | ///取消控件 |
| | |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = ZigbeeColor.Current.LogicBtnCancelColor, |
| | | TextSize = 14, |
| | | Height = Application.GetRealHeight(127), |
| | | Height = bottomFrame.Height, |
| | | Width = Application.GetRealWidth(397), |
| | | BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor, |
| | | TextID = R.MyInternationalizationString.cancel, |
| | |
| | | TextColor = ZigbeeColor.Current.LogicBlankBackgroundColor, |
| | | TextSize = 14, |
| | | X = cancelBtn.Right, |
| | | Height = Application.GetRealHeight(127), |
| | | Height = bottomFrame.Height, |
| | | Width = bottomFrame.Width - cancelBtn.Width, |
| | | BackgroundColor = ZigbeeColor.Current.LogicBtnTypeColor, |
| | | TextID = R.MyInternationalizationString.confrim, |
| | |
| | | dialog.Close(); |
| | | }; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 闪错提示框 |
| | | /// </summary> |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | |