| | |
| | | using Shared.Common; |
| | | namespace Shared.Phone.Device.CommonForm |
| | | { |
| | | public class SceneTargetTimeRow:FrameLayout |
| | | public class SceneTargetTimeRow : FrameLayout |
| | | { |
| | | /// <summary> |
| | | /// TipBtn |
| | |
| | | X = Application.GetRealWidth(0); |
| | | Y = Application.GetRealHeight(y); |
| | | Width = Application.GetRealWidth(1080); |
| | | Height = Application.GetRealHeight(127); |
| | | Height = Application.GetRealHeight(127-2); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | Width = Application.GetMinRealAverage(80), |
| | | Height = Application.GetMinRealAverage(80), |
| | | Gravity = Gravity.CenterVertical, |
| | | UnSelectedImagePath="Item/Timer.png" |
| | | UnSelectedImagePath = "Item/Timer.png" |
| | | }; |
| | | AddChidren(Icon); |
| | | |
| | |
| | | Gravity = Gravity.CenterVertical, |
| | | TextColor = ZigbeeColor.Current.GXCPlaceHolderTextColor2, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextID=R.MyInternationalizationString.Delay |
| | | TextID = R.MyInternationalizationString.Delay, |
| | | TextSize = 14 |
| | | }; |
| | | AddChidren(TipBtn); |
| | | |
| | |
| | | Width = Application.GetRealWidth(500), |
| | | Height = Application.GetRealHeight(100), |
| | | Gravity = Gravity.CenterVertical, |
| | | TextAlignment=TextAlignment.CenterRight, |
| | | TextColor= ZigbeeColor.Current.GXCPlaceHolderTextColor2 |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | 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; |
| | | } |
| | | } |
| | | } |