| | |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Y = Application.GetRealHeight(53), |
| | | Width = Application.GetRealWidth(100), |
| | | Width = Application.GetRealWidth(270), |
| | | Height = Application.GetRealHeight(17), |
| | | TextColor = MusicColor.MusicNoTxetColor, |
| | | TextSize = TextSize.Text12, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | |
| | | |
| | | }; |
| | | /// <summary> |
| | | ///收藏图标 |
| | |
| | | { |
| | | X = Application.GetRealWidth(273), |
| | | Y = Application.GetRealHeight(14), |
| | | Width = Application.GetMinRealAverage(40), |
| | | Height = Application.GetMinRealAverage(40), |
| | | Width = Application.GetRealWidth(40), |
| | | Height = Application.GetRealWidth(40), |
| | | UnSelectedImagePath = "MusicIcon/collect.png", |
| | | SelectedImagePath = "MusicIcon/collectSelected.png", |
| | | }; |
| | |
| | | /// </summary> |
| | | public FrameLayout fra = new FrameLayout |
| | | { |
| | | X = Application.GetRealWidth(63 + 2), |
| | | X = Application.GetRealWidth(57), |
| | | Y = Application.GetRealHeight(72), |
| | | Width = Application.GetRealWidth(202+12), |
| | | Height = Application.GetRealHeight(202+12), |
| | | Height = Application.GetRealWidth(202+12), |
| | | }; |
| | | /// <summary> |
| | | ///显示播放音乐图标 |
| | | /// </summary> |
| | | public Button musicIconBtn = new Button |
| | | { |
| | | //X = Application.GetRealWidth(63 + 2+20), |
| | | //Y = Application.GetRealHeight(72 + 6+20), |
| | | Width = Application.GetMinRealAverage(158), |
| | | Height = Application.GetMinRealAverage(158), |
| | | Width = Application.GetRealWidth(158), |
| | | Height = Application.GetRealWidth(158), |
| | | UnSelectedImagePath = "MusicIcon/musicIcon.png", |
| | | Gravity = Gravity.Center, |
| | | }; |
| | |
| | | /// </summary> |
| | | public DiyArcSeekBar diyArcSeekBar = new DiyArcSeekBar |
| | | { |
| | | Width = Application.GetMinRealAverage(202), |
| | | Height = Application.GetMinRealAverage(202), |
| | | Width = Application.GetRealWidth(202), |
| | | Height = Application.GetRealWidth(202), |
| | | ProgressBarColor = MusicColor.SelectedColor, |
| | | OpenAngle = 0,//开口角度 |
| | | ArcWidth = Application.GetRealWidth(4),//进度宽度 |
| | |
| | | { |
| | | X = Application.GetRealWidth(70), |
| | | Y = Application.GetRealHeight(355), |
| | | Width = Application.GetMinRealAverage(28), |
| | | Height = Application.GetMinRealAverage(28), |
| | | Width = Application.GetRealWidth(28), |
| | | Height = Application.GetRealWidth(28), |
| | | UnSelectedImagePath = "MusicIcon/list.png", |
| | | }; |
| | | /// <summary> |
| | |
| | | { |
| | | X = Application.GetRealWidth(150), |
| | | Y = Application.GetRealHeight(355), |
| | | Width = Application.GetMinRealAverage(28), |
| | | Height = Application.GetMinRealAverage(28), |
| | | Width = Application.GetRealWidth(28), |
| | | Height = Application.GetRealWidth(28), |
| | | UnSelectedImagePath = "MusicIcon/love1.png", |
| | | SelectedImagePath = "MusicIcon/loveSelected1.png", |
| | | }; |
| | |
| | | { |
| | | X = Application.GetRealWidth(230), |
| | | Y = Application.GetRealHeight(355), |
| | | Width = Application.GetMinRealAverage(28), |
| | | Height = Application.GetMinRealAverage(28), |
| | | Width = Application.GetRealWidth(28), |
| | | Height = Application.GetRealWidth(28), |
| | | UnSelectedImagePath = "MusicIcon/playList.png", |
| | | }; |
| | | /// <summary> |
| | |
| | | { |
| | | X = Application.GetRealWidth(24), |
| | | Y = Application.GetRealHeight(414), |
| | | Width = Application.GetMinRealAverage(24), |
| | | Height = Application.GetMinRealAverage(24), |
| | | Width = Application.GetRealWidth(24), |
| | | Height = Application.GetRealWidth(24), |
| | | UnSelectedImagePath = "MusicIcon/vol.png", |
| | | }; |
| | | /// <summary> |
| | |
| | | IsClickable = true,//进度条是否滑动 |
| | | ProgressBarColor = MusicColor.SelectedColor,//选中进度条颜色 |
| | | ThumbImagePath = "MusicIcon/progressIcon.png",//进度条按钮图标 |
| | | ThumbImageHeight = Application.GetMinRealAverage(54),//进度条按钮图标的高度(默认正方形:宽和高一样) |
| | | SeekBarViewHeight = Application.GetMinRealAverage(8),//进度条的高度 |
| | | ThumbImageHeight = Application.GetRealWidth(54),//进度条按钮图标的高度(默认正方形:宽和高一样) |
| | | SeekBarViewHeight = Application.GetRealWidth(8),//进度条的高度 |
| | | ProgressChangeDelayTime = 300,//0.3秒发送一次 |
| | | SeekBarPadding = Application.GetRealWidth(20), |
| | | }; |
| | |
| | | { |
| | | X = Application.GetRealWidth(64), |
| | | Y = Application.GetRealHeight(466), |
| | | Width = Application.GetMinRealAverage(40), |
| | | Height = Application.GetMinRealAverage(40), |
| | | Width = Application.GetRealWidth(40), |
| | | Height = Application.GetRealWidth(40), |
| | | UnSelectedImagePath = "MusicIcon/prve1.png", |
| | | SelectedImagePath = "MusicIcon/prve1Selected.png", |
| | | }; |
| | |
| | | { |
| | | X = Application.GetRealWidth(144), |
| | | Y = Application.GetRealHeight(466), |
| | | Width = Application.GetMinRealAverage(40), |
| | | Height = Application.GetMinRealAverage(40), |
| | | Width = Application.GetRealWidth(40), |
| | | Height = Application.GetRealWidth(40), |
| | | UnSelectedImagePath = "MusicIcon/pause1.png", |
| | | SelectedImagePath = "MusicIcon/play1.png", |
| | | }; |
| | |
| | | { |
| | | X = Application.GetRealWidth(224), |
| | | Y = Application.GetRealHeight(466), |
| | | Width = Application.GetMinRealAverage(40), |
| | | Height = Application.GetMinRealAverage(40), |
| | | Width = Application.GetRealWidth(40), |
| | | Height = Application.GetRealWidth(40), |
| | | UnSelectedImagePath = "MusicIcon/next1.png", |
| | | SelectedImagePath = "MusicIcon/next1Selected.png", |
| | | }; |