| | |
| | | Radius = (uint)Application.GetRealHeight(cornerValue); |
| | | } |
| | | |
| | | |
| | | |
| | | //public FrameLayout fLayout = new FrameLayout |
| | | //{ |
| | | // Y = Application.GetRealHeight(16), |
| | | // Width = Application.GetRealWidth(widthFrameLayout - 8), |
| | | // Height = Application.GetRealHeight(heightFrameLayout - 16), |
| | | // Radius = (uint)Application.GetRealHeight(cornerValue), |
| | | // BackgroundColor = MusicColor.ViewColor, |
| | | //}; |
| | | |
| | | |
| | | public FrameLayout ONFLayout = new FrameLayout |
| | | { |
| | | Height = Application.GetRealWidth(40), |
| | |
| | | public void AddView(FrameLayout parent) |
| | | { |
| | | parent.AddChidren(this); |
| | | //this.AddChidren(fLayout); |
| | | this.AddChidren(ONFLayout); |
| | | ONFLayout.AddChidren(ONButton); |
| | | this.AddChidren(btnName); |
| | | this.AddChidren(OFFFLayout); |
| | | OFFFLayout.AddChidren(OFFButton); |
| | | |
| | | ONFLayout.Y = Application.GetRealHeight(11); |
| | | btnName.Y = ONFLayout.Bottom + Application.GetRealHeight(11); |
| | | OFFFLayout.Y = btnName.Bottom + Application.GetRealHeight(11); |