| | |
| | | X = Application.GetRealWidth(0); |
| | | Y = Application.GetRealHeight(y); |
| | | Width = Application.GetRealWidth(1080); |
| | | Height = Application.GetRealHeight(127); |
| | | Height = Application.GetRealHeight(127-2); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | Gravity = Gravity.CenterVertical, |
| | | TextColor = ZigbeeColor.Current.GXCPlaceHolderTextColor2, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextID=R.MyInternationalizationString.Delay |
| | | TextID = R.MyInternationalizationString.Delay, |
| | | TextSize = 14 |
| | | }; |
| | | AddChidren(TipBtn); |
| | | |
| | |
| | | Height = Application.GetRealHeight(100), |
| | | Gravity = Gravity.CenterVertical, |
| | | TextAlignment=TextAlignment.CenterRight, |
| | | TextColor= ZigbeeColor.Current.GXCPlaceHolderTextColor2 |
| | | TextColor = ZigbeeColor.Current.GXCPlaceHolderTextColor2, |
| | | TextSize = 14 |
| | | }; |
| | | AddChidren(TitleBtn); |
| | | |
| | | line = new Button() |
| | | { |
| | | X = Application.GetRealWidth(222), |
| | | Y = Height - 2, |
| | | Y = Height - 1, |
| | | Width = Application.GetRealWidth(800), |
| | | Height = 2, |
| | | Height = 1, |
| | | BackgroundColor = ZigbeeColor.Current.GXCGrayLineColor2, |
| | | }; |
| | | AddChidren(line); |
| | |
| | | /// <param name="hiden"></param> |
| | | public void HideLine(bool hiden) |
| | | { |
| | | line.Visible = hiden; |
| | | line.Visible = !hiden; |
| | | } |
| | | } |
| | | } |