| | |
| | | { |
| | | X = Application.GetRealWidth(22), |
| | | Y = Application.GetRealHeight(261), |
| | | Width = Application.GetRealWidth(37 + 5), |
| | | Width = Application.GetRealWidth(37 + 5+20), |
| | | Height = Application.GetRealHeight(20), |
| | | TextColor = MusicColor.TextTimeColor, |
| | | TextSize = TextSize.Text14, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | |
| | | }; |
| | | /// <summary> |
| | | ///音乐结束时间 |
| | | /// </summary> |
| | | public Button endTimeBtn = new Button |
| | | { |
| | | X = Application.GetRealWidth(269), |
| | | X = Application.GetRealWidth(269-20), |
| | | Y = Application.GetRealHeight(261), |
| | | Width = Application.GetRealWidth(37 + 5), |
| | | Width = Application.GetRealWidth(37 + 5+20), |
| | | Height = Application.GetRealHeight(20), |
| | | TextColor = MusicColor.TextTimeColor, |
| | | TextSize = TextSize.Text14, |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | |
| | | }; |
| | | /// <summary> |
| | | /// 歌名名称(TextView超出长度自己滚动) |
| | |
| | | ThumbImageHeight = Application.GetMinRealAverage(54),//进度条按钮图标的高度(默认正方形:宽和高一样) |
| | | SeekBarViewHeight = Application.GetMinRealAverage(8),//进度条的高度 |
| | | ProgressChangeDelayTime = 300,//0.3秒发送一次 |
| | | SeekBarPadding = Application.GetRealWidth(20), |
| | | }; |
| | | |
| | | /// <summary> |
| | |
| | | { |
| | | X = Application.GetRealWidth(279 - 4), |
| | | Y = Application.GetRealHeight(418), |
| | | Width = Application.GetRealWidth(26 + 4), |
| | | Width = Application.GetRealWidth(26 + 4+10), |
| | | Height = Application.GetRealHeight(17), |
| | | Text = "0%", |
| | | TextColor = MusicColor.MusicNoTxetColor, |