| | |
| | | /// </summary> |
| | | public FrameLayout fLayout = new FrameLayout |
| | | { |
| | | BackgroundColor = Color.WhiteColor, |
| | | BackgroundColor = MusicColor.WhiteColor, |
| | | Height = Application.GetRealHeight(50), |
| | | Width = Application.GetRealWidth(375), |
| | | }; |
| | |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Y = Application.GetRealHeight(13), |
| | | Width = Application.GetMinRealAverage(24), |
| | | Height = Application.GetMinRealAverage(24), |
| | | Width = Application.GetRealWidth(24), |
| | | Height = Application.GetRealWidth(24), |
| | | }; |
| | | /// <summary> |
| | | ///文本 |
| | |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Y = Application.GetRealHeight(14), |
| | | Width = Application.GetRealWidth(140), |
| | | Width = Application.GetRealWidth(240), |
| | | Height = Application.GetRealHeight(22), |
| | | TextColor = Color.TextColor, |
| | | TextColor = MusicColor.TextColor, |
| | | TextSize = TextSize.Text16, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | }; |
| | |
| | | Width = Application.GetRealWidth(140), |
| | | Height = Application.GetRealHeight(20), |
| | | TextAlignment=TextAlignment.CenterRight, |
| | | TextColor = Color.MusicNoTxetColor, |
| | | TextColor = MusicColor.MusicNoTxetColor, |
| | | TextSize = TextSize.Text14, |
| | | }; |
| | | |
| | | /// <summary> |
| | | ///下一级菜单图标 |
| | | /// </summary> |
| | | public Button nextLevelBtn = new Button |
| | | public Button nextLevelBtn = new Button |
| | | { |
| | | X = Application.GetRealWidth(339), |
| | | Y = Application.GetRealHeight(17), |
| | | Width = Application.GetMinRealAverage(16), |
| | | Height = Application.GetMinRealAverage(16), |
| | | Width = Application.GetRealWidth(16), |
| | | Height = Application.GetRealWidth(16), |
| | | UnSelectedImagePath = "MusicIcon/sourceNetx.png", |
| | | |
| | | }; |
| | |
| | | public Button lineBtn = new Button |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Width = Application.GetRealWidth(375-16-16), |
| | | BackgroundColor = Color.LineColor, |
| | | Width = Application.GetRealWidth(375 - 16 - 16), |
| | | BackgroundColor = MusicColor.LineColor, |
| | | }; |
| | | |
| | | /// <summary> |
| | |
| | | fLayout.AddChidren(inputTextBtn); |
| | | nextLevelBtn.X = Application.GetRealWidth(333); |
| | | nextLevelBtn.Y = Application.GetRealHeight(11); |
| | | nextLevelBtn.Width = Application.GetMinRealAverage(28); |
| | | nextLevelBtn.Height = Application.GetMinRealAverage(28); |
| | | nextLevelBtn.Width = Application.GetRealWidth(28); |
| | | nextLevelBtn.Height = Application.GetRealWidth(28); |
| | | nextLevelBtn.UnSelectedImagePath = "MusicIcon/edit.png"; |
| | | } |
| | | fLayout.AddChidren(textBtn); |